summaryrefslogtreecommitdiff
path: root/xmake/core/base/log.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-10-16 23:35:55 +0800
committerruki <[email protected]>2017-10-16 15:35:31 +0800
commitc90ccdbf3a81822a660390298d5a5a442c8a496d (patch)
tree79b59f76644f2bb00949a3d2f5e8d7dab8833700 /xmake/core/base/log.lua
parenta08d6c9117e33b2742ce992f8217090bdcdd568f (diff)
improve log
Diffstat (limited to 'xmake/core/base/log.lua')
-rw-r--r--xmake/core/base/log.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/log.lua b/xmake/core/base/log.lua
index 186a4ce30..e9b05f8c1 100644
--- a/xmake/core/base/log.lua
+++ b/xmake/core/base/log.lua
@@ -48,7 +48,7 @@ function log.file()
end
-- open the log file
- log._FILE = io.open(outputfile, 'w')
+ log._FILE = io.open(outputfile, 'w+')
end
log._FILE = log._FILE or false
end