Skip to content

B3 0 release#76

Closed
k3ldar wants to merge 4 commits into
FirebirdSQL:B3_0_Releasefrom
k3ldar:B3_0_Release
Closed

B3 0 release#76
k3ldar wants to merge 4 commits into
FirebirdSQL:B3_0_Releasefrom
k3ldar:B3_0_Release

Conversation

@k3ldar

@k3ldar k3ldar commented Jan 22, 2017

Copy link
Copy Markdown

CORE-782

Does not include an error or status code as this would change the parameters of gds__log

Optionally log success full and failed login attempts and database not found for successful logins that fail to attach to database.
@AlexPeshkoff

Copy link
Copy Markdown
Member

Sorry, I think this PR can't be accepted.
For logging attaches audit should be used, i.e. we have duplicated feature.
Removing \n between messages of a log makes it worse human-readable
May be use of per-day log files in separate directory can make sense, not sure....

@romansimakov

romansimakov commented Jan 23, 2017 via email

Copy link
Copy Markdown
Contributor

@AlexPeshkoff

AlexPeshkoff commented Jan 23, 2017

Copy link
Copy Markdown
Member

Roman, I see no problems if such changes (removing extra \n) are optional. If k3ldar is ready to make appropriate changes I'll be glad to accept such PR.

What about logging levels - that's definitely very useful, but IMO requires some good thinking how do we implement it (numeric levels or groups? what levels/groups? what message to put where? etc.)

@dyemanov

Copy link
Copy Markdown
Member

I'd say this requires discussion in fb-devel. We already had an idea to have logging plugins to switch from default format to something else. In this case, logs location and rotation policy may be options of the plugin, not the server. We already have requests to separate engine errors from remote errors, as well as write validation results into dedicated files. Severity levels should also be discussed in this context.

@dyemanov

dyemanov commented Jan 23, 2017

Copy link
Copy Markdown
Member

@AlexPeshkoff:

For logging attaches audit should be used, i.e. we have duplicated feature.

Doesn't audit work at the engine level, while authentication now works at the server level?

@AlexPeshkoff

AlexPeshkoff commented Jan 23, 2017 via email

Copy link
Copy Markdown
Member

@k3ldar

k3ldar commented Jan 23, 2017 via email

Copy link
Copy Markdown
Author

@k3ldar

k3ldar commented Jun 1, 2017

Copy link
Copy Markdown
Author

Could you please close/delete this pull request, as submitted a revised version under the header of CORE 782.

Thanks

Si

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 this pull request may close these issues.

4 participants