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

Trim ANSI codes from syslog #76

Closed
dargor opened this issue Jun 2, 2016 · 0 comments · Fixed by #77
Closed

Trim ANSI codes from syslog #76

dargor opened this issue Jun 2, 2016 · 0 comments · Fixed by #77
Milestone

Comments

@dargor
Copy link

dargor commented Jun 2, 2016

Using --syslog-server=unix:// I get :

Jun  2 09:49:00 ssh2docker ./ssh2docker[xxx]: #033[33mWARN#033[0m[0006] config.Allowed = false

Jun  2 09:49:01 ssh2docker ./ssh2docker[xxx]: #033[34mINFO#033[0m[0007] Accepted publickey for xxx from xxx port xxx ssh2:

Jun  2 09:52:14 ssh2docker ./ssh2docker[xxx]: #033[34mINFO#033[0m[0200] Received disconnect from xxx:xxx: disconnected by user



Using --syslog-server=udp://127.0.0.1:514 I get : 

<6>2016-06-02T10:22:36Z ssh2docker ./ssh2docker[xxx]: <1b>[34mINFO<1b>[0m[0000] Listening on ":xxx"                           

<4>2016-06-02T10:22:41Z ssh2docker ./ssh2docker[xxx]: <1b>[33mWARN<1b>[0m[0005] config.Allowed = false                       

<6>2016-06-02T10:22:43Z ssh2docker ./ssh2docker[xxx]: <1b>[34mINFO<1b>[0m[0006] Accepted publickey for xxx from xxx port xxx ssh2:  

<6>2016-06-02T10:23:08Z ssh2docker ./ssh2docker[xxx]: <1b>[34mINFO<1b>[0m[0031] Received disconnect from xxx:xxx: disconnected by user
@QuentinPerez QuentinPerez mentioned this issue Jun 3, 2016
@moul moul closed this as completed in #77 Jun 3, 2016
@moul moul modified the milestone: v1.3.0 Jul 15, 2016
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

Successfully merging a pull request may close this issue.

2 participants