neo-modules icon indicating copy to clipboard operation
neo-modules copied to clipboard

Feature request: application logs to stdout

Open ksemaev opened this issue 6 years ago • 5 comments

Guys, we are using kubernetes env, so I have neo-cli in docker. One of the basic concept - is having logs on stdout, so I would collect them, parse, index etc

Can we add a cli option, or config file, allowing application log plugin to send logs to stdout?

Followup to https://github.com/neo-project/neo-cli/issues/402

ksemaev avatar Jul 18 '19 06:07 ksemaev

Sounds good, we are currently discussing best debugging and logging templates, that might be an option.

This kubernets example might also be useful for the Community. Is it working good as expected?

vncoelho avatar Jul 18 '19 06:07 vncoelho

@vncoelho sure, I'll do PR with dockerfile to the neo-cli repo today, it's working just fine

ksemaev avatar Jul 18 '19 06:07 ksemaev

Great to hear, let's consider this that you mentioned, we need something configurable that is in connection with NEO core different mechanisms, logging each of them properly.

vncoelho avatar Jul 18 '19 06:07 vncoelho

Current dockerfile: https://github.com/neo-project/neo-cli/pull/410

ksemaev avatar Jul 18 '19 07:07 ksemaev

Do we have news on this? When things go wrong it is very difficult to check what is going on with the node without logs being sent to stdout, restarting the server just to enable logging to a file isn't a good option for our deployment strategy.

giovannirco avatar Dec 02 '20 02:12 giovannirco