You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "smolnar82 (via GitHub)" <gi...@apache.org> on 2023/12/15 15:58:09 UTC
[PR] KNOX-2993 - Logging error stack trace at INFO level when failed to parse a descriptor [knox]
smolnar82 opened a new pull request, #827:
URL: https://github.com/apache/knox/pull/827
## What changes were proposed in this pull request?
This is a very small, but even more imprtant change because it helps us a lof during the troubleshooting of service discovery or simple descriptor handler issues: related error stack traces are displayed on `INFO` level.
## How was this patch tested?
Manually tested:
```
2023-12-15 16:57:35,494 ERROR knox.gateway (DescriptorsMonitor.java:onFileChange(123)) - An error occurred while processing dt.json : java.lang.IllegalArgumentException: Unresolved provider configuration reference: kerberos-providers
java.lang.IllegalArgumentException: Unresolved provider configuration reference: kerberos-providers
at org.apache.knox.gateway.topology.simple.SimpleDescriptorHandler.handleProviderConfiguration(SimpleDescriptorHandler.java:266) ~[gateway-topology-simple-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
at org.apache.knox.gateway.topology.simple.SimpleDescriptorHandler.generateTopology(SimpleDescriptorHandler.java:416) ~[gateway-topology-simple-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
at org.apache.knox.gateway.topology.simple.SimpleDescriptorHandler.handle(SimpleDescriptorHandler.java:199) ~[gateway-topology-simple-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
at org.apache.knox.gateway.topology.simple.SimpleDescriptorHandler.handle(SimpleDescriptorHandler.java:97) ~[gateway-topology-simple-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
at org.apache.knox.gateway.services.topology.monitor.DescriptorsMonitor.onFileChange(DescriptorsMonitor.java:97) [gateway-server-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
at org.apache.knox.gateway.services.topology.monitor.DescriptorsMonitor.onFileCreate(DescriptorsMonitor.java:64) [gateway-server-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
at org.apache.commons.io.monitor.FileAlterationObserver.doCreate(FileAlterationObserver.java:391) [commons-io-2.8.0.jar:2.8.0]
at org.apache.commons.io.monitor.FileAlterationObserver.checkAndNotify(FileAlterationObserver.java:346) [commons-io-2.8.0.jar:2.8.0]
at org.apache.commons.io.monitor.FileAlterationObserver.checkAndNotify(FileAlterationObserver.java:305) [commons-io-2.8.0.jar:2.8.0]
at org.apache.commons.io.monitor.FileAlterationMonitor.run(FileAlterationMonitor.java:184) [commons-io-2.8.0.jar:2.8.0]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_282]
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@knox.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KNOX-2993 - Logging error stack trace at INFO level when failed to parse a descriptor [knox]
Posted by "smolnar82 (via GitHub)" <gi...@apache.org>.
smolnar82 merged PR #827:
URL: https://github.com/apache/knox/pull/827
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@knox.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org