typicode / katon

(use hotel instead)
https://github.com/typicode/hotel
MIT License
683 stars 28 forks source link

Centralised logging #34

Closed whatyoubendoing closed 10 years ago

whatyoubendoing commented 10 years ago

Logging should be moved to ~/.katon/logs/APP_NAME.log. Currently the logging clutters up the working directory also makes it difficult to run 2 katon applications from the same directory.

typicode commented 10 years ago

I agree about the fact that running 2 applications from the same directory is a problem.

But not yet decided about where to put files. On one hand, I think it's good to be able to simply run tail -f from the server directory and on the other hand, it would unclutter the working directory too.

If others have opinions about it, I'm interested.

ericjohney commented 10 years ago

I think @b3njamin's Suggestion is good. Maybe just have a "katon log" command you could run from the current directory that would automatically tail -f the app file from the shared log dir?

typicode commented 10 years ago

Thanks for the feedback, working on it :)

rstacruz commented 10 years ago

just saw this. currently running katon on master and i llke it.

typicode commented 10 years ago

It's now published ;) in v0.7.0