wojciech.kapcia@tigase.net opened 8 years ago
|
|
Complete configs:
|
|
Possibly related to #835 |
|
I've fixed issue with conversion from properties file to DSL. Your config should be:
Part related to |
|
Andrzej Wójcik wrote:
OK, however thrown exception still doesn't indicate what caused the problem in the first place:
We should include there information which config line caused the server shutdown.
How do we set the custom logging? We also discussed that right now all string properties MUST be enclosed in quotes - this information must go in the documentation (and it must be revised that all dash properties use the quotations. I've noticed that As for the issue at hand - with the quoting of the strings it works. |
|
Wojciech Kapcia wrote:
Done, added information about line causing issue and position in line.
It was configured by After your comment I reviewed possible usages supported in previous versions of Tigase XMPP Server and added new Possible ways to configure logging:
It is not required to pass all settings shown in above example - settings which you want to modify may be passed.
Done.
As stated in documentation only properties/values which contain any char from specified list need to be quoted. In fact property names and bean names are not so strict about it however, we should suggest to wrap any bean names containing '+-*:/' in quotes.
|
|
Andrzej Wójcik wrote:
I can only see information about the position and it's a bit burried:
Can we include actual line as well and move the information about position to more distinct place? Or better yet - have only human-readable error with line and position skipping stacktrace? (Yes, I know it's cosmetics but stacktraces gives bad impression and fishing out details what was wrong could be easier)
Thank you! %Daniel - can you add this to the debugging documentation in master? |
|
Added to configuration documentation. Andrzej, I pulled information for logging bean, let me know if there's any options I missed. |
|
I've added content of a line which caused an issue to error message and improved error reporting to make it more readable. %Daniel Thank you for adding documentation. I've looked at it briefly and it looks that all is there. |
|
Andrzej Wójcik wrote:
It's great now, thanks! |
Type |
Bug
|
Priority |
Normal
|
Assignee | |
RedmineID |
5005
|
Version |
tigase-server-8.0.0
|
Spent time |
60h
|
When trying to disable muc and pubsub in the latest version with:
Version