Hot answers tagged logging
Commits will queue up and all flush when the WAL gets written. So you'll get big groups of commits writing 5 times a second.
Add the copytruncate directive to your logrotate stanza. Then the file won't be pulled out from under your daemon. When you do that, be sure to write in append mode (as you have in your example), otherwise you'll end up with sparse files after rotation.
It reports an error for not finding the oldest possible rotated log file, which hasn't been created yet. So that's a bug IMO, it should not fail on that. So what will happen is that when you have collected the max amount of rotated logs (15) the error message will go away. You can safely ignore the message meanwhile. It looks like there is a bug report on ...
If you don't mind installing external tools, my call would be Pygments It is a generic syntax highlighter for general use in all kinds of software such as forum systems, wikis or other applications that need to prettify source code. Highlights are: a wide range of common languages and markup formats is supported special attention is paid to ...
Only top voted, non community-wiki answers of a minimum length are eligible