Then you are not using official version. Why is it in "/var"?
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"]
So, you are not using official Traccar release. That's why you don't have wrapper. Docker build doesn't use YAJSW.
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
There's no wrapper log anymore.
Thanks a lot Anton. I thought my installation was missing something.
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
Please help
Thanks