Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I'm seeing a very weird problem in a large Catalyst-based app I have to maintain.
The logging system is set up on the application level, using Log::Dispatch::File (FileRotate, specifically); every Controller simply sets a different logfile as necessary (or disables logging entirely). The setup is exactly the same for every Controller: they inherit the same begin.
Exactly one Controller has very frequent errors: 'Caught exception in My::Controller:ThisParticularController->begin "Cannot write to '/path/to/logs/ThisParticularController.log': Input/output error at /path/to/Log/Dispach/File.pm line 101."' However, this controller also very frequently does successfully write to this logfile. No other Controller ever reports this error. This Controller is probably the busiest one, but it's not a vast difference. There are no differences in permissions for this file, and it's in the same filesystem as all the other logs.
I simply can't see any difference with how logging is handled for this Controller vs. any of the others, and I don't know what "Input/output error" actually means. What can I do to try to figure this out?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Diagnosing "Input/output error"
by hv (Prior) on Aug 03, 2022 at 02:02 UTC | |
Re: Diagnosing "Input/output error"
by Fletch (Bishop) on Aug 03, 2022 at 02:02 UTC | |
Re: Diagnosing "Input/output error"
by BillKSmith (Monsignor) on Aug 02, 2022 at 19:18 UTC | |
Re: Diagnosing "Input/output error"
by rizzo (Curate) on Aug 02, 2022 at 21:40 UTC |