droxit / roxcomposer

This is the droxit microservice framework repository.
GNU Lesser General Public License v3.0
5 stars 0 forks source link

Impossible to watch a service with logging params specified. #91

Closed hecktor-droxit closed 5 years ago

hecktor-droxit commented 5 years ago

Using "logging" parameter in service JSON file, it is not possible to watch corresponding service. Without it, everything works fine.

{"path": "/home/christian/Projekte/jotb-services/services/lowercaser.py", "params": {"ip": "127.0.0.1", "port": 4011, "name": "lowercaser", "logging": {"filename": "pipeline.log", "level": "INFO"}}}

0xRand0m commented 5 years ago

The correct field name for the log file parameter is logpath. Use this instead of filename and it should work.