You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Skip default log directory when logging is disabled or configured externally #361
Copybara fails at startup when its default log directory is read-only, even with --nologging or -Djava.util.logging.config.file=... pointing to a console-only config.
For example, running with a read-only home on Linux fails with:
/root/.cache/com.google.copybara: Read-only file system
Main.configureLog() calls Files.createDirectories() before checking either setting. Could it only create that directory when using its default file logger?
Setting XDG_CACHE_HOME to a writable directory works around this on Linux. Reproduced with v20261019; current main has the same code.
Activity