Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-15131

Issue with access-log settings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 24.0.1.Final
    • Logging, Web (Undertow)
    • None
    • Blocks Testing
    • undefined

      we are setting the following access-log pattern in standalone.xml

      <access-log pattern="%h %l %u %t "%r" %s %b "%{i,Referer}" "%{i,User-Agent}" "%{i,COOKIE}" "%{o,SET-COOKIE}" %S "%I" %T" use-server-log="true"/>

       

      But are ending with the following error and wildfly 24.0.1 fails to start. Note that this setting is working in earlier versions of WF such 23.0.2 etc:

       
      09:24:26,843 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service org.wildfly.undertow.host.access-log.default-server.default-host.access-log: org.jboss.msc.service.StartException in service org.wildfly.undertow.host.access-log.default-server.default-host.access-log: Failed to start service
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1731)
      at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
      at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
      at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
      at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1363)
      at java.lang.Thread.run(Thread.java:748)
      Caused by: java.lang.IllegalArgumentException: Parameter 'abstractPath' may not be null
      at org.wildfly.common.Assert.checkNotNullParamChecked(Assert.java:71)
      at org.wildfly.common.Assert.checkNotNullParam(Assert.java:49)
      at org.jboss.as.controller.services.path.AbsolutePathService.convertPath(AbsolutePathService.java:69)
      at org.jboss.as.controller.services.path.PathManagerService.resolveRelativePathEntry(PathManagerService.java:104)
      at org.wildfly.extension.undertow.AccessLogService.start(AccessLogService.java:108)
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
      ... 6 more
       

       

            jperkins-rhn James Perkins
            suryanarayanagarlapati Garlapati Suryanarayana (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: