Skip to content

Conversation

@kuba--
Copy link
Contributor

@kuba-- kuba-- commented Nov 7, 2018

Signed-off-by: kuba-- [email protected]

Closes src-d/go-mysql-server#468

@kuba-- kuba-- requested a review from a team November 7, 2018 13:27
@kuba-- kuba-- added enhancement New feature or request proposal proposal for new additions or changes labels Nov 7, 2018
Copy link
Contributor

@jfontan jfontan left a comment

Choose a reason for hiding this comment

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

Changes look good but it would be nice to enable audit by default in the logs. In server.go just before calling buildDatabase you can wrap the auth with Audit with these lines:

	audit := auth.NewAuditLog(logrus.New())
	c.userAuth = auth.NewAudit(c.userAuth, audit)

After that there should be audit trail logs.

@ajnavarro
Copy link
Contributor

@kuba-- could you have a look at Javi's comment? After that LGTM.

@kuba--
Copy link
Contributor Author

kuba-- commented Nov 7, 2018

@jfontan - now we have nice/colourful audit logs in gitbase ;)

@ajnavarro
Copy link
Contributor

ajnavarro commented Nov 8, 2018

@kuba-- I don't know what is happening with Travis, it is not triggered. Can you rebase please?

@kuba--
Copy link
Contributor Author

kuba-- commented Nov 8, 2018

@ajnavarro - done

@ajnavarro ajnavarro merged commit 42bbeca into src-d:master Nov 8, 2018
@kuba-- kuba-- deleted the mysql-with-tableau branch November 9, 2018 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request proposal proposal for new additions or changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants