You can translate the question and the replies:

Allow logging all received requests in the Scheduler REST API.

As mentioned in the enhancement #78114, we can now add logger to all received requests in the Scheduler Rest API. How can we configure this functionality ? And for the logs, are they stored in files ? Thanks
10-04-2024 14:22:27 -0400

1 Answer

Hi, To configure the functionality of logger for received requests in Scheduler Rest API, we have to activate and write to the **scheduler-admin-request.log** file the Scheduler Web Administration Tool request logs: * you must modify the file **DENODO_HOME\resources\apache-tomcat\webapps\webadmin#denodo-scheduler-admin\WEB-INF\classes\log4j2.xml** by adding and configuring the `<RollingFile>` defined inside `<Appenders>` tag. * Inside the `<Loggers>` tag, specify this logger with the desired level, for example `DEBUG`: `<Logger name="org.springframework.web.filter.CommonsRequestLoggingFilter" level="DEBUG" >` ` <AppenderRef ref="REQUESTOUT"/>` ` </Logger>` And yes, the Scheduler Web Administration Tool stores the logging messages in the file **<DENODO_HOME>/logs/scheduler/scheduler-admin.log**. Once the changes have been made, save the file, stop the Scheduler Web Administration Tool server and start it again. Now you can check that when you browse pages or create items on the Scheduler Web Administration Tool, it writes to the log file as stated above. You can refer to this document for more details [Log Configuration]( Hope it helps!
Denodo Team
12-04-2024 02:25:12 -0400
You must sign in to add an answer. If you do not have an account, you can register here