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

Logengine inserts quoted log messages into database #1593

Closed
lunkwill42 opened this issue Oct 4, 2017 · 0 comments
Closed

Logengine inserts quoted log messages into database #1593

lunkwill42 opened this issue Oct 4, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@lunkwill42
Copy link
Member

The log engine (part of the syslog analyzer) seems to insert all log messages into the database surrounded in single quotes.

Inspecting the code reveals that this happens because all the log messages are escaped/quoted for use in SQL statements, but these quoted strings are then subject to SQL parametrization on insertion, causing the quoted versions to become the literal versions stored.

This is just ridiculous...

@lunkwill42 lunkwill42 added the bug label Oct 4, 2017
@lunkwill42 lunkwill42 added this to the 4.7.3 milestone Oct 4, 2017
@lunkwill42 lunkwill42 self-assigned this Oct 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant