Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
vadere
vadere
Commits
eeaff581
Commit
eeaff581
authored
Mar 04, 2019
by
Benedikt Kleinmeier
Browse files
In "SetLogNameCommand", added "FIXME" because "--logname" for "vadere-console.jar" is broken.
parent
4ae168cb
Pipeline
#95223
passed with stages
in 133 minutes and 41 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
VadereSimulator/src/org/vadere/simulator/entrypoints/cmd/commands/SetLogNameCommand.java
View file @
eeaff581
...
@@ -13,7 +13,11 @@ public class SetLogNameCommand implements ArgumentAction {
...
@@ -13,7 +13,11 @@ public class SetLogNameCommand implements ArgumentAction {
@Override
@Override
public
void
run
(
ArgumentParser
parser
,
Argument
arg
,
Map
<
String
,
Object
>
attrs
,
String
flag
,
Object
value
)
throws
ArgumentParserException
{
public
void
run
(
ArgumentParser
parser
,
Argument
arg
,
Map
<
String
,
Object
>
attrs
,
String
flag
,
Object
value
)
throws
ArgumentParserException
{
String
filename
=
(
String
)
value
;
String
filename
=
(
String
)
value
;
// Logger.setFileName(filename); //todo set Filename of Log-file
// FIXME: Create a "FileAppender" which writes to "filename".
// See http://logging.apache.org/log4j/2.x/manual/customconfig.html and
// https://stackoverflow.com/questions/15441477/how-to-add-log4j2-appenders-at-runtime-programmatically/33472893#33472893
// Logger.setFileName(filename); //todo set Filename of Log-file
}
}
@Override
@Override
...
...
Write
Preview
Markdown
is supported
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