Skip to content

no logfile available #6

@jstaerk

Description

@jstaerk

I configured my email server in the docker-compose.yml yet I don't get any password reset mails. I checked the log of my mailserver which does not even register a connection attempt.

I don't see anything conclusive when I docker logs, I do get a *ATTENTION* Wrong login for ... on the wrong login but nothing on the attempt to send a pw reset.

https://github.com/KlausSchaefers/qux-java/blob/master/src/main/java/log4j2.xml indicates there might be logs/app.log folder but when I docker exec -it I dont find anything loggy anywhere.

And of course ps -ef says java -jar qux-java/release/qux-server.jar -Xmx2g -conf qux-java/matc.conf -instances 1 got pid 1... which I cant kill (see also https://devops.stackexchange.com/questions/5613/how-to-explicitly-kill-the-process-with-pid-1-from-inside-a-container).

I assume the backend is a spring boot application, so I would like to add sth like --logging.file.name=quantux.log (source: https://stackoverflow.com/questions/70558476/how-to-set-logging-file-name-through-command-line-arguments-in-spring-boot).

However, for that I stop my containers and docker image rm my images, clone your repo, change your dockerfile, docker build -t bmcgonag/qux-be . and docker-compose up -d but unfortunately there is still no logfile to be found.

Anything that comes to the mind of anybody how I can find out what's wrong with my email settings?

PS: thanks Brian for your youtube videos, they are great.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions