*.log only matched root-level logs; add **/*.log to cover server/server.log and any other subdirectory log files in both .gitignore and .dockerignore.