Highspy, logging options? #1833
RobinBergmark
started this conversation in
General
Replies: 1 comment 3 replies
-
Your only option for this level of control and contextualisation is to use the logging callback. See |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I've been using Highspy in an app. Works great in general, but I'm wondering if there are any additional options for logging? Specifically, I log everything from the web sever (python code) as json. But it doesn't look to me as if that would be possible with the type of output HiGHS logs? Other things I'd be interested in is to add contextual information to each log entry (e.g. request id and such), is that possible?
Per the documentation it looks like you can just set whether to log to console/file unless I missed something, so I'm wondering if there are any other clever ideas? Otherwise I'll just log it to a file and take it from there, but it would be convenient if there was something else.
Thanks for any insights!
Beta Was this translation helpful? Give feedback.
All reactions