Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
58a9d49a
Commit
58a9d49a
authored
7 years ago
by
Roman Shevchenko
Browse files
Options
Download
Email Patches
Plain Diff
[platform] sets UTF-8 for log files
parent
529cc398
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bin/log.xml
+2
-0
bin/log.xml
jps/jps-builders/src/defaultLogConfig.properties
+1
-0
jps/jps-builders/src/defaultLogConfig.properties
with
3 additions
and
0 deletions
+3
-0
bin/log.xml
+
2
-
0
View file @
58a9d49a
...
...
@@ -38,6 +38,7 @@
<param
name=
"MaxFileSize"
value=
"1Mb"
/>
<param
name=
"MaxBackupIndex"
value=
"12"
/>
<param
name=
"File"
value=
"$LOG_DIR$/idea.log"
/>
<param
name=
"Encoding"
value=
"UTF-8"
/>
<layout
class=
"org.apache.log4j.PatternLayout"
>
<param
name=
"ConversionPattern"
value=
"%d [%7r] %6p - %30.30c - %m \n"
/>
</layout>
...
...
@@ -45,6 +46,7 @@
<appender
name=
"CONTINUOUS_FILE"
class=
"org.apache.log4j.FileAppender"
>
<param
name=
"File"
value=
"$LOG_DIR$/continuous.log"
/>
<param
name=
"Encoding"
value=
"UTF-8"
/>
<param
name=
"append"
value=
"false"
/>
<layout
class=
"org.apache.log4j.PatternLayout"
>
<param
name=
"ConversionPattern"
value=
"%d [%7r] %6p - %30.30c - %m \n"
/>
...
...
This diff is collapsed.
Click to expand it.
jps/jps-builders/src/defaultLogConfig.properties
+
1
-
0
View file @
58a9d49a
...
...
@@ -4,6 +4,7 @@ log4j.rootLogger=info, file
log4j.appender.file
=
org.apache.log4j.RollingFileAppender
log4j.appender.file.File
=
$LOG_FILE_PATH$
log4j.appender.file.Encoding
=
UTF-8
log4j.appender.file.MaxFileSize
=
20Mb
log4j.appender.file.MaxBackupIndex
=
20
log4j.appender.file.layout
=
org.apache.log4j.PatternLayout
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment