Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[marytts] Why is there a separate log directory? #1597

Closed
itn3rd77 opened this issue Dec 22, 2016 · 2 comments
Closed

[marytts] Why is there a separate log directory? #1597

itn3rd77 opened this issue Dec 22, 2016 · 2 comments
Labels
won't fix Invalid Issues and requests that do not fit the specified add-on

Comments

@itn3rd77
Copy link

I don't know if this is considered a bug but I want to bring this to discussion.

In my humble opinion we should have a single log directory (sub directories when necessary) to store all log files in one place. With installed marryTTS addon there is an extra log directory inside the userdata folder named 'log' beside the default log directory named 'logs'. Is this intentional? I would suggest to store this log files in 'userdata/logs' or 'userdata/logs/marrytts' if possible.

Regards
Ingo

@kaikreuzer
Copy link
Member

I would suggest to store this log files in 'userdata/logs' or 'userdata/logs/marrytts' if possible.

I once tried to do this, but the folder is written directly from the Mary server without using the slf4j logging infrastructure, hence I failed moving the folder.

If you find a way to make it work, it would be awesome :-)

@itn3rd77
Copy link
Author

As far as my research is correct the the logging is configured from 'marrytts/util/log4j.properties' inside the 'marytts-runtime-5.1-SNAPSHOT.jar'. I found a post at stackoverflow where some guy said the properties file can be overridden by putting a directory containing the properties files, with the same package structure, in the classpath, before the jar file.

But my knowledge is to limited to state this true and I am far away from having a development environment for openhab.

@wborn wborn changed the title [maryTTS] Why is there a separate log directory? [marytts] Why is there a separate log directory? Dec 20, 2018
@davidgraeff davidgraeff added the won't fix Invalid Issues and requests that do not fit the specified add-on label Mar 18, 2019
Flole998 pushed a commit to Flole998/openhab-addons that referenced this issue Dec 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
won't fix Invalid Issues and requests that do not fit the specified add-on
Projects
None yet
Development

No branches or pull requests

3 participants