figuring out what facility & priority is used
Maybe I missed something somewhere, I dunno.. Is there anyway to figure out what facility and/or priority a program or logged message is using to log stuff, without going through the source code of the program? -- nick
Maybe I missed something somewhere, I dunno.. Is there anyway to figure out what facility and/or priority a program or logged message is using to log stuff, without going through the source code of the program?
you could split each of them out - using files named like $facility.$priority and then you could run the program and see where it writes. -sv
Lol you beat me to this by about a min, I just read about the macros in chapter 3! Thanks! I love this syslog-ng!!! =) -- nick On Fri, 25 May 2001, Seth Vidal wrote:
Maybe I missed something somewhere, I dunno.. Is there anyway to figure out what facility and/or priority a program or logged message is using to log stuff, without going through the source code of the program?
you could split each of them out - using files named like $facility.$priority and then you could run the program and see where it writes.
-sv
Ok next question.. Can anyone help me out on how to use file()'s template() option, or is it even working in the stable branch yet? -- nick On Fri, 25 May 2001, Seth Vidal wrote:
Maybe I missed something somewhere, I dunno.. Is there anyway to figure out what facility and/or priority a program or logged message is using to log stuff, without going through the source code of the program?
you could split each of them out - using files named like $facility.$priority and then you could run the program and see where it writes.
-sv
Nevermind, I just noticed in the changelog that it's in the 1.5 branch, dont know why I missed that one -- nick On Fri, 25 May 2001, nick wrote:
Ok next question.. Can anyone help me out on how to use file()'s template() option, or is it even working in the stable branch yet?
participants (2)
-
nick
-
Seth Vidal