pushstate-server icon indicating copy to clipboard operation
pushstate-server copied to clipboard

Logger

Open evantahler opened this issue 9 years ago • 6 comments

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

screen shot 2017-01-30 at 11 55 17 am

evantahler avatar Jan 30 '17 19:01 evantahler

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

evantahler avatar Jan 30 '17 19:01 evantahler

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

scottcorgan avatar Feb 02 '17 23:02 scottcorgan

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 avatar Feb 03 '17 01:02 evantahler

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

evantahler avatar Feb 06 '17 17:02 evantahler

Any updates on this feature?

lukaspj avatar Sep 15 '17 08:09 lukaspj

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

Thanks 👍

scottcorgan avatar Sep 15 '17 15:09 scottcorgan