Logging Parameters for TacPlus #154
Replies: 3 comments
-
Hi, apologies, that looks like a documentation error. Does "accounting format = ..." in "log ... { ... }" context work? Regarding syslog: you can set both "syslog facility" and "syslog level", e.g.: syslog facility = MAIL to guide your syslogd to write to the right file. Some syslog daemons (rsyslogs, e.g.) also allow for message-based destination selection. Cheers, Marc |
Beta Was this translation helpful? Give feedback.
-
Hmm, I tried a couple things. Here's the full logging config for context with suggested change in the middle:
Perhaps I'm not understanding your command context. Can you give an example with that format? And for syslog, Those two commands would defer from logging into the normal /var/log/syslog. I still want to see them, I just want them in different log file locations. |
Beta Was this translation helpful? Give feedback.
-
Hi,
should work. If it doesn't I can easily have a closer look tomorrow. Good Friday gives plenty of free time for further checking. Cheers, Marc |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey Marc, I've been playing with the logging configuration and have a couple questions.
accounting log format = "${nas}${FS}${user}${FS}${port}${FS}${nac}${FS}${profile}${FS}${result}${FS}${accttype}${FS}${service}${FS}${cmd}"
Adding that to the config file tacplus fails to start. Does this have to go in a specific place? It doesn't matter what the format is - it fails to start every time. Even adding just
accounting log format = "${nas}$"
as an example fails.Beta Was this translation helpful? Give feedback.
All reactions