diff options
Diffstat (limited to 'server/src/workspace.lua')
-rw-r--r-- | server/src/workspace.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/src/workspace.lua b/server/src/workspace.lua index aefabb04..5582ca8d 100644 --- a/server/src/workspace.lua +++ b/server/src/workspace.lua @@ -74,6 +74,9 @@ function mt:init(rootUri) return end log.info('Workspace inited, root: ', self.root) + local logPath = ROOT / 'log' / (rootUri:gsub('[/:]+', '_') .. '.log') + log.info('Log path: ', logPath) + log.init(ROOT, logPath) async.call([[ require 'utility' local fs = require 'bee.filesystem' |