Skip to content
This repository was archived by the owner on Sep 19, 2024. It is now read-only.
This repository was archived by the owner on Sep 19, 2024. It is now read-only.

Log properties are not replace in artifact #136

Description

@EHJ-52n

I have downloaded the latest release from:
http://52north.org/maven/repo/releases/org/n52/sensorweb/sensorwebclient-webapp/3.3.0-rc.1/sensorwebclient-webapp-3.3.0-rc.1.war

I get the following messages in catalina.out when starting the webapp:

16:38:52,841 |-ERROR in
ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Failed to create
parent directories for
[/var/lib/tomcat7/config.logger.fileappender.filepath_IS_UNDEFINED/sensorwebclient-webapp-3.3.0-rc.1.log]
16:38:52,841 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE] -
openFile(config.logger.fileappender.filepath_IS_UNDEFINED/sensorwebclient-webapp-3.3.0-rc.1.log,true)
call failed. java.io.FileNotFoundException:
config.logger.fileappender.filepath_IS_UNDEFINED/sensorwebclient-webapp-3.3.0-rc.1.log
(No such file or directory)
    at java.io.FileNotFoundException:
config.logger.fileappender.filepath_IS_UNDEFINED/sensorwebclient-webapp-3.3.0-rc.1.log
(No such file or directory)
    at     at java.io.FileOutputStream.open(Native Method)
    at     at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
    at     at ch.qos.logback.core.recovery.ResilientFileOutputStream.<init>(ResilientFileOutputStream.java:28)
    at     at ch.qos.logback.core.FileAppender.openFile(FileAppender.java:149)

The logback.xmlcontains the following:

    <property name="logFile" value="${config.logger.fileappender.filepath}/sensorwebclient-webapp-3.3.0-rc.1"
/>
[...]
    <logger name="org.n52" level="${config.logger.level.org.n52}" />
    <logger name="org.n52.client" level="${config.logger.level.client}" />
    <logger name="org.n52.server" level="${config.logger.level.server}" />
[...]
    <root level="${config.logger.level}">
        <appender-ref ref="FILE" />
        <appender-ref ref="STDOUT" />
    </root>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions