in reply to [SOLVED] Log::Log4perl and Log::Dispatch::FileRotate: Issues rotating log files based on date pattern

Sorry for answering your question with a question, but since you seem to be running on *nix, is there any reason for not using your system's logrotate tool? At $work we use logrotate not just with Log4perl, it also handles our Java apps, Apache, MySQL etc.
  • Comment on Re: Log::Log4perl and Log::Dispatch::FileRotate: Issues rotating log files based on date pattern

Replies are listed 'Best First'.
Re^2: Log::Log4perl and Log::Dispatch::FileRotate: Issues rotating log files based on date pattern
by ateague (Monk) on Jan 25, 2015 at 22:58 UTC
    but since you seem to be running on *nix, is there any reason for not using your system's logrotate tool?

    Errr...
    I am actually on Windows, using ActivePerl 5.18.

      Apologies, I saw the
      #!/usr/bin/perl
      in your code, and missed the part where you mentioned Windows.