Support explicitly specifying a location for jvm.out
Allows users to monitor server output without needing to fish the output base.
Windows support is copied more or less verbatim from recommendations, I unfortunately
don't know how to test this on windows.
PiperOrigin-RevId: 183674130
diff --git a/src/main/cpp/global_variables.h b/src/main/cpp/global_variables.h
index 061e283..6baa6a9 100644
--- a/src/main/cpp/global_variables.h
+++ b/src/main/cpp/global_variables.h
@@ -53,7 +53,12 @@
// Used to make concurrent invocations of this program safe.
std::string lockfile; // = <output_base>/lock
- std::string jvm_log_file; // = <output_base>/server/jvm.out
+ // Whrere to write the server's JVM's output. Default value is
+ // <output_base>/server/jvm.out.
+ std::string jvm_log_file;
+
+ // Whether or not the jvm_log_file should be opened with O_APPEND.
+ bool jvm_log_file_append;
std::string cwd;