Skip Menu |

This queue is for tickets about the Log-Dispatch-FileRotate CPAN distribution.

Report information
The Basics
Id: 28868
Status: rejected
Worked: 30 min
Priority: 0/
Queue: Log-Dispatch-FileRotate

People
Owner: cpan [...] mlp-consulting.com.au
Requestors: farnsaw [...] stonedoor.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 1.02
  • 1.03
  • 1.04
  • 1.05
  • 1.07
  • 1.08
  • 1.09
  • 1.10
  • 1.11
  • 1.13
  • 1.14
  • 1.15
  • 1.16
Fixed in: (no value)



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
Permissions are not handled by this module. They are passed to higher classes to handle (Log::Dispatch::File). We only rotate here using rename(). But thanks for the work around. -- cheers markpf