Skip to main content
11 events
when toggle format what by license comment
Sep 14, 2014 at 4:26 comment added glampert Consider using __attribute__(format) or SA_FormatString to get some compile time checking for the format strings.
Sep 13, 2014 at 21:26 comment added Loki Astari @jww: What do you mean by Audit log? The way I see it that is what syslog is for. 6 Informational. And it provides standard consistent logging that has numerous tools that do everything you want with the log files. logstash being my current favorite. Which centralizes log files and indexes them.
Sep 13, 2014 at 21:17 comment added user53032 @Loki - syslog does not provide an Audit log level. Often, that's the only level I care about. The other levels pretty much allow debugging in the field. I'll hold my opinions on debugging in the field, but I will say: debug your warez before its provided to customers and unsuspecting users.
Sep 13, 2014 at 20:00 comment added Loki Astari en.wikipedia.org/wiki/Syslog
Sep 13, 2014 at 19:07 comment added Chris I'm not actually familiar with syslog, but I'll have a look at it to see what I can learn from it.
Sep 13, 2014 at 18:58 vote accept Chris
Sep 13, 2014 at 18:19 history edited Jamal
edited tags
Sep 13, 2014 at 17:46 answer added Loki Astari timeline score: 2
Sep 13, 2014 at 17:37 comment added Loki Astari Please do not reinvent features that are done so well already. Everybody tries to do this and everybody does it so badly. I you want to write a C++ logger it should be a wrapper around syslog. That thing (syslog) does so much more than you can imagine and so much better than any other user written implementation. It also standardizes a lot of factors about log files so a maintainer does not need to search for them of figure out how to filter/sort/organize/retain/compress/centraliz them (as tools already exist) which your specific implementation does not provide.
Sep 13, 2014 at 17:28 answer added Carl timeline score: 4
Sep 13, 2014 at 15:32 history asked Chris CC BY-SA 3.0