in reply to Re^3: WWW::Mechanize::Chrome : random complaining that Log4perl is not initialised and test fails
in thread WWW::Mechanize::Chrome : random complaining that Log4perl is not initialised and test fails
Huh. I've used Log::Log4perl at one client since 2018, and it's worked very well. Sure, turning logging up or down does require me to edit a file, but that's fine. I usually send INFO messages to the screen, but send DEBUG messages to the log, and ERROR messages go by E-Mail. I started to work on also getting ERRORs sent to Slack, but got busy with other stuff.
The module also takes care of rotating the log files (size, number of backups to keep), which is super handy. I haven't tried any other logging modules because Log4perl does everything I need and Just Works.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: WWW::Mechanize::Chrome : random complaining that Log4perl is not initialised and test fails
by Corion (Patriarch) on Aug 12, 2025 at 15:06 UTC | |
by talexb (Chancellor) on Aug 15, 2025 at 14:33 UTC | |
Re^5: WWW::Mechanize::Chrome : random complaining that Log4perl is not initialised and test fails
by NERDVANA (Priest) on Aug 14, 2025 at 17:53 UTC |