-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
implement a shared utility function for displaying an FKO context #95
Comments
I have prepared a patch but not pushed anything to github yet. The test suite is running :) I have created a fko_dump_ctx_to_buffer function, but reading your request, I think it shoud be stored in fko_util.c rather than adding a new function to the libfko ABI. Or do you think such a function could be useful ? |
Hello Franck, Quick note before I fly home - definitely fko_util.c, and I think the dump_ctx() function used by the server is pretty close to what we want. Then the client can use it similarly to how the server uses it. On Aug 4, 2013, at 2:12 PM, Franck Joncourt [email protected] wrote:
|
by both the server and client. mrash#95
Merged, thanks. Made a couple of minor additions. |
I have noticed the dump is nice formatted when running in foreground mode, but not in daemon mode through syslog.
rather than
Sad :( |
I have found a way to avoid syslog from stripping newlines by adding $EscapeControlCharactersOnReceive off to its configuration file.
I do not know about other loggers. Any idea what should be done? |
On Wed, Aug 14, 2013 at 3:56 PM, Franck Joncourt
Thanks for catching this. How about modifying dump_ctx_to_buffer() to add Thanks, --Mike —
Michael Rash | Founder |
Reopening based on the previous comment and Franck's catch for the syslog formatting issue. |
I thought about it this last weekend and my idea was to upgrade the log_msg Otherwise we can do as you said. I would prefer not to change the I will have a look at it this coming weekend along with the verbose mode. This Talk to you soon. |
Both the client and the server have their own functions for printing an FKO context. These should be consolidated into a libfko utility function.
The text was updated successfully, but these errors were encountered: