Subject: | Permissions option in config file |
Log-Dispatch-FileRotate
perl, v5.8.2 built for sun4-solaris-multi
SunOS ap21cnedc149 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-Fire-V440
The permissions option requires an octal value, this works fine from
code by passing in the a value starting with zero (0), but it does not
work from a configuration file as it treats the value as a string.
Non Working Example:
log4perl.appender.Rotate.permissions=0666
Workaround:
If you print the octal value you need "print 0666;" you are given the
string you need to use in the configuration file.
Workaround Example:
log4perl.appender.Rotate.permissions=438