Menu

#76 [properties file] key/value and spaces

v1.0.3
closed
None
5
2009-02-11
2009-02-08
No

I've spend some time testing the log4cplus library.

First of all, it was impossible to compile and link the library on MacOSX using Metrowerks Codewarrior, without modifications. We are currently discussing to commit the changes.

Then I figured out another problem - this is my properties file:

log4cplus.logger.expagina = TRACE, expagina

log4cplus.appender.expagina = log4cplus::RollingFileAppender
log4cplus.appender.expagina.File = "/ex Pagina.log"
log4cplus.appender.expagina.MaxFileSize = 500KB
log4cplus.appender.expagina.MaxBackupIndex = 5
log4cplus.appender.expagina.layout = log4cplus::TTCCLayout

These properties file results in parsing errors because of the space before the value (e.g. log4cplus.appender.expagina = log4cplus::RollingFileAppender has to be log4cplus.appender.expagina=log4cplus::RollingFileAppender).

I think this should be fixed before final release, it should be possible to have spaces before and after the =.

Regards

Bastian

Discussion

  • Václav Haisman

    Václav Haisman - 2009-02-08

    Ok, the white space can be fixed, I think.
    About the MacOSX support, I have no way of testing it. So, if you have any patches to improve it, I will commit them.

     
  • Václav Haisman

    Václav Haisman - 2009-02-08
    • assigned_to: nobody --> wilx
    • status: open --> open-accepted
     
  • Václav Haisman

    Václav Haisman - 2009-02-11
    • status: open-accepted --> open-fixed
     
  • Václav Haisman

    Václav Haisman - 2009-02-11

    I have committed a change in revision 759 on the PRODUCTION_1_0_x that should fix the white space problem.

    If you have any fixes wrt/ the MacOS X support, please create a new bug report for them instead of using this one.

     
  • Václav Haisman

    Václav Haisman - 2009-02-11
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB