Skip to content
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

RFE: verbose- or debug-mode/flags #5

Open
durd opened this issue Oct 25, 2019 · 3 comments
Open

RFE: verbose- or debug-mode/flags #5

durd opened this issue Oct 25, 2019 · 3 comments

Comments

@durd
Copy link

durd commented Oct 25, 2019

Nothing mind blowing.
I would have wanted to see more logs when running directly from CLI, not as a service. Maybe even what options were being sent/asked for back and forth. Also what "Irrevelant DHCP pkt" actually was.

Mind you, I haven't studied the code yet.

dhcpProxy actually helped us prove that VMware VDI's behind ACI could actually PXE-boot, and that it was not a limitation in VMware BIOS or anywhere else.
We then moved the DHCP options to a proper DHCP-server (Infoblox) and that worked every time. The guys handling SCCM were almost ecstatic.

@torbbang
Copy link
Contributor

I am currently working on implementing logging through the python logging module.

As this has not been used by @bentole, are you opposed to logging this way?

@bentole
Copy link
Owner

bentole commented Apr 20, 2020

First of all, apologies to @durd for not replying to his comment. Completely forgot about it until @torbbang refreshed it :) . Secondly, introducing the logger module sounds like a good idea! I created a log function, but it's rather crude so I most definitely do not oppose this enhancement🥇

@durd
Copy link
Author

durd commented Apr 21, 2020

No worries @bentole :)
I actually just finished a script using the logging module. It was easy enough to send logs to syslog. I had some trouble with programname for rsyslogd, so I had to format the message properly myself. That probably is the way to do it anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants