Node-BLUE debug logging - where?

Hi

I configured a debug node and tried to log the messages to ‘debug tab and Homegear flows log’

I see the messages when the web page is opened but I do not find any entry in any log file.

in the following files there is no entry for the debug:

root@lemonpi:/var/log/homegear# ls
homegear.err	    homegear-flows.log	homegear-scriptengine.err
homegear-flows.err  homegear.log	homegear-scriptengine.log

Any hint where the log messages should be stored?

thanks
Wolfgang

Hi @jipp,

I’m not sure if this is correct as I’ve not used node-blue yet, but have you tried the JavaScript Developer Console of your browser? At least thats where node-red puts some debugging information.

homegear-flows.log ist the mentioned Homegear flows log as far as I know.

so long,
p

Hi

the browser shows no problems, debug and log is working there, but I would need to log the message in a file.
The homegear-flows.log does not show any entry.

Cheers

paging @sathya

Hi @jipp,

is there any output in the homegear-flows.log or just a blank file?

Cheers,
Michael

Hi

after some investigations:
-the file was not empty

I figured out that the ‘debugLevel = 4’ inside ‘main.conf’ might has something to do with it.

I changed the log level critical and suddenly I saw messages from the Node-BLUE:

10/06/17 20:00:00.378 Flows Engine (18743): Node c0fd2e8b.2cb38: Debug node output (critical): (Boolean) 1 
10/06/17 20:02:00.391 Flows Engine (18743): Node c0fd2e8b.2cb38: Debug node output (critical): (Boolean) 0 
10/07/17 06:00:00.489 Flows Engine (18743): Node c0fd2e8b.2cb38: Debug node output (critical): (Boolean) 1 
10/07/17 20:00:00.338 Flows Engine (18743): Node c0fd2e8b.2cb38: Debug node output (critical): (Boolean) 1 
10/07/17 20:02:00.350 Flows Engine (18743): Node c0fd2e8b.2cb38: Debug node output (critical): (Boolean) 0 

So it seems working - my mistake.

thanks to all
Jipp

You can set the debug level for the runtime via the homegear console:

sudo homegear -r
dl 5

Hi

yes - thanks
I think I got this now under control

cheers