wrapper log not found

karthik balu7 years ago

wrapper.log is not found anywhere but I am sure the server is working and i can access it without any issues also uses my external mysql database

Traccar log is also has nothing useful in it

/var # more traccar.log 
2017-08-24 06:32:36  INFO: Operating system name: Linux version: 3.10.0-327.el7.x86_64 architecture: amd64
2017-08-24 06:32:36  INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: Oracle Corporation version: 25.111-b14
2017-08-24 06:32:36  INFO: Memory limit heap: 843mb non-heap: 0mb
2017-08-24 06:32:36  INFO: Character encoding: UTF-8 charset: UTF-8
2017-08-24 06:32:36  INFO: Version: 3.12-SNAPSHOT
2017-08-24 06:33:19  INFO: Starting server...

Please help
Thanks

Anton Tananaev7 years ago

Then you are not using official version. Why is it in "/var"?

karthik balu7 years ago

I just changed the log file location through traccar config to test if its using my traccar.xml as i wanted to use external mysql database and it worked and i was able to use traccar without any issues

the only issue is this wrapper.log

This is the Docker file im using which just uses the official traccar files

FROM java:8-jre-alpine

ENV TRACCAR_VERSION 3.12

WORKDIR /opt/traccar

RUN set -ex && \
    apk add --no-cache --virtual install-dependencies wget && \
    \
    wget -qO /tmp/traccar.zip https://github.com/tananaev/traccar/releases/download/v$TRACCAR_VERSION/traccar-other-$TRACCAR_VERSION.zip && \
    unzip -qo /tmp/traccar.zip -d /opt/traccar && \
    rm /tmp/traccar.zip && \
    \
    apk del install-dependencies

EXPOSE 8082

ENTRYPOINT ["java"]

CMD ["-Djava.net.preferIPv4Stack=true", "-Xms512m", "-jar", "tracker-server.jar", "conf/traccar.xml"]
Anton Tananaev7 years ago

So, you are not using official Traccar release. That's why you don't have wrapper. Docker build doesn't use YAJSW.

Nick6 years ago

Hi Anton,
I don't see the wrapper log file in /opt/traccar/logs in the latest version 4.3. Though I can see the tracker-server.log and everything is alright, but just wondering

Anton Tananaev6 years ago

There's no wrapper log anymore.

Nick6 years ago

Thanks a lot Anton. I thought my installation was missing something.