Skip to content

Added Rails type logging to file of queries with times and colorization in terminal#1075

Open
johnpipi wants to merge 1 commit into
bcosca:masterfrom
johnpipi:rails_colored_logger
Open

Added Rails type logging to file of queries with times and colorization in terminal#1075
johnpipi wants to merge 1 commit into
bcosca:masterfrom
johnpipi:rails_colored_logger

Conversation

@johnpipi
Copy link
Copy Markdown

@johnpipi johnpipi commented Nov 8, 2017

Added logging to file that you can tail -f sql.log and see all queries happing with how long each took if cached and all colorized similar to rails console.

@Rayne
Copy link
Copy Markdown
Contributor

Rayne commented Nov 9, 2017

Hello @johnpipi, this it the wrong repository for contributing patches to the library. Please have a look at the fatfree-core repository instead.

@ikkez
Copy link
Copy Markdown
Collaborator

ikkez commented Nov 9, 2017

It's a nice idea, but it is probably more straigthforward to make it possible to set a custom logging method instead.

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.

3 participants