fergiemcdowall / norch

A search server that can be installed with npm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

logging?

eklem opened this issue · comments

Where did logging go? Before you got some logging in the console, but now it's silent. Error or just sent to a log file? This is all I ever get, no matter how many successful and unsuccessful queries I do.

eklem@norch-test:~$ norch -l silly -i li/ -c http://146.185.142.231:8080

      ___           ___           ___           ___           ___
     /\__\         /\  \         /\  \         /\  \         /\__\
    /::|  |       /::\  \       /::\  \       /::\  \       /:/  /
   /:|:|  |      /:/\:\  \     /:/\:\  \     /:/\:\  \     /:/__/
  /:/|:|  |__   /:/  \:\  \   /::\~\:\  \   /:/  \:\  \   /::\  \ ___
 /:/ |:| /\__\ /:/__/ \:\__\ /:/\:\ \:\__\ /:/__/ \:\__\ /:/\:\  /\__\
 \/__|:|/:/  / \:\  \ /:/  / \/_|::\/:/  / \:\  \  \/__/ \/__\:\/:/  /
     |:/:/  /   \:\  /:/  /     |:|::/  /   \:\  \            \::/  /
     |::/  /     \:\/:/  /      |:|\/__/     \:\  \           /:/  /
     /:/  /       \::/  /       |:|  |        \:\__\         /:/  /
     \/__/         \/__/         \|__|         \/__/         \/__/

MIT license, 2013-2016
https://github.com/fergiemcdowall/norch

Norch server listening on port 3030

Ah- yes

We changed from express to restify, and restify doesn't log by default. That said- there should still be an option to turn logging on. This should definitely be fixed.

Logging is now all to bunyan-readable file. It doesnt look as pretty in the terminal as the old express logs, but it is super-pretty when parsing with bunyan -c. This makes running a norch farm a lot easier.