OutputRedirector does not work.
AnsweredHello.
From the 'Logging from the Plugin' article (https://support.networkoptix.com/hc/en-us/articles/360056941474-Logging-from-the-Plugin)
Redirecting stderr and stdout to files – OutputRedirector does not work.
I found nx_ini through mx api, added mediaserver_stdout.log to nx_ini folder, and restarted Nx server.
However, no log was written to the mediaserver_stdout.log file.
development environment
OS: Ubuntu Linux
mediaserver: 4.2.0.32843
Plugin sdk: 4.2.0 R4
-
Hello jeongho kim ,
On Linux, the binary name is mediaserver-bin, that's why the file name should be mediaserver-bin_stderr.log.
The article has been updated to fix. It will be updated soon once it is reviewed.
0
Please sign in to leave a comment.
Comments
1 comment