We use the dateFile appender with the following config:
The logfile is rotated as per the config and everything appears to work just fine, but if I "tail -f" the currently active log file after it has been rotated, node will stop writing to it at the precise moment when I access the file. If I restart node I can "tail -f" the active log file just fine, but only until it gets rotated.
Same things happens for me too... Is there a solution ?
Yesterdays log file has todays 3 line of logs and todays logs are not going to the expected log file.
I am using log4js with Sails & PM2.