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

Add support for log files #205

Merged
merged 1 commit into from
Dec 1, 2015
Merged

Add support for log files #205

merged 1 commit into from
Dec 1, 2015

Conversation

miguelxpn
Copy link
Contributor

Override log_message in websocket.py so messages from send_error are properly saved into the log files

Closes #204

@DirectXMan12 DirectXMan12 added the feature New feature or request label Oct 16, 2015
@DirectXMan12 DirectXMan12 self-assigned this Oct 16, 2015
@DirectXMan12
Copy link
Member

Just got around to testing this. LGTM 👍

@@ -113,6 +113,9 @@ def __init__(self, req, addr, server):

SimpleHTTPRequestHandler.__init__(self, req, addr, server)

def log_message(self, format, *args):
self.logger.info("%s - - [%s] %s" %(self.address_string(),self.log_date_time_string(),format%args))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add spaces between operators here.

@miguelxpn
Copy link
Contributor Author

Added the spaces. Thank you.

Override log_message in websocket.py so messages from send_error are properly saved into the log files

Closes #204
DirectXMan12 added a commit that referenced this pull request Dec 1, 2015
@DirectXMan12 DirectXMan12 merged commit 72b6298 into novnc:master Dec 1, 2015
@DirectXMan12 DirectXMan12 added this to the 0.8.0 milestone Dec 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants