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

GlossyProducer generateBSDDate problem with days < 10 #24

Open
trendes opened this issue Aug 4, 2014 · 0 comments
Open

GlossyProducer generateBSDDate problem with days < 10 #24

trendes opened this issue Aug 4, 2014 · 0 comments

Comments

@trendes
Copy link

trendes commented Aug 4, 2014

My problem is that in GlossyProducer, the generateBSDDate function creates a date like this:
'Aug 4 14:21:20 '
So the day is padded correctly with leading space. This is the format what syslog-ng can parse, BUT this code, wich joins the message array into the message string, cut that leading space from it and ruins the parseable format:
var compiledMessage = msgData.join(' ').replace(/\s+/g, ' ');

Pls produce a fix for that issue.

Thanks in advance!

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

1 participant