Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14860087
D11457.id27558.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
696 B
Referenced Files
None
Subscribers
None
D11457.id27558.diff
View Options
diff --git a/support/aphlict/server/aphlict_server.js b/support/aphlict/server/aphlict_server.js
--- a/support/aphlict/server/aphlict_server.js
+++ b/support/aphlict/server/aphlict_server.js
@@ -70,6 +70,11 @@
set_exit_code(1);
});
+// Add the logfile so we'll fail if we can't write to it.
+if (config.log) {
+ debug.addLog(config.log);
+}
+
try {
require('ws');
} catch (ex) {
@@ -96,11 +101,6 @@
ssl_config.cert = fs.readFileSync(config['ssl-cert']);
}
-// Add the logfile so we'll fail if we can't write to it.
-if (config.log) {
- debug.addLog(config.log);
-}
-
// If we're just doing a configuration test, exit here before starting any
// servers.
if (config.test) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 8, 12:37 AM (10 h, 21 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7099566
Default Alt Text
D11457.id27558.diff (696 B)
Attached To
Mode
D11457: Add the logger earlier in the Aphlict startup process
Attached
Detach File
Event Timeline
Log In to Comment