0

I am new to the Perl and while doing with my new CR I stuck at the Perl code which is using Log4perl package.

Already developed code is using this package and in the configuration file of this package has this configuration:

log4perl.appender.Logfile.max  = 2
log4perl.appender.Logfile.size = 10_000
log4perl.appender.Logfile = Log::Dispatch::FileRotate

Can I get the information about these parameters in the configuration file, and perhaps change them?

brian d foy
  • 129,424
  • 31
  • 207
  • 592
kishore
  • 167
  • 1
  • 2
  • 7

2 Answers2

1

Of course you can get information about those parameters. The documentation for log4perl should explain each of those.

innaM
  • 47,505
  • 4
  • 67
  • 87
1

Log4perl is the Perl version of log4j. The documentation for either is often useful for the other since they are very close. If you have trouble with the docs, ask a more specific question with the parts you don't understand. :)

You might also want to see my chapter on Logging in Mastering Perl, which talks about the structure of the configuration files.

brian d foy
  • 129,424
  • 31
  • 207
  • 592