scottcorgan / pushstate-server

Static file server that works with HTML5 Pushstate.
421 stars 35 forks source link

Logger #46

Open evantahler opened 7 years ago

evantahler commented 7 years ago

It's generally useful for your web servers to have logs!

screen shot 2017-01-30 at 11 55 17 am
evantahler commented 7 years ago

Closes https://github.com/scottcorgan/pushstate-server/issues/41

scottcorgan commented 7 years ago

Can you elaborate just a bit on your choice of vocabulary used in the api (such as appenders)?

evantahler commented 7 years ago

The vocabulary comes from https://github.com/nomiddlename/log4js-node. An appender is basically an output of the logger... it might be to the console (stdio), it might be to a file, it might be to some logging service. I'll bet for 90% of the use-cases for this server, logging to only console is OK.

evantahler commented 7 years ago

I tend to prefer that logging is enabled by default... but OK! Version locked and disabled by default :D

lukaspj commented 7 years ago

Any updates on this feature?

scottcorgan commented 7 years ago

@lukaspj can you move conversation to https://github.com/scottcorgan/pushstate-server/issues/41?

Thanks 👍