From: Spencer C. <sp...@sp...> - 2025-04-15 05:20:39
|
> Hello Spencer, > > Thanks for the question and feedback. The log format is hardcoded, so > you have not missed anything like a switch, there is none. > > I'll see if I can change something for 6.5.3 to fix the double > timestamp though, > <https://gitlab.com/fetchmail/fetchmail/-/issues/66>. > > In the interim, for cron, the first timestamp - can be stripped off by > piping the output through sed, say, > > fetchmail --your-options-here 2>&1 | sed -Ee > 's/^(Jan|Feb|Mar|Apr|May|Ju[nl]|Aug|Sep|Oct|Nov|Dev) [0-9]{1,2} > [0-9]{1,2}:[0-9]{2}:[0-9]{2} //' > > HTH > > Matthias Thanks Matthias. I'll try the 'sed' trick to get rid of the first one and would appreciate it if the double timestamp could be fixed. Regards, Spencer |