Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
vadere
vadere
Commits
c561b066
Commit
c561b066
authored
Oct 08, 2019
by
Benedikt Kleinmeier
Browse files
In "JsonMigrationAssistant", use log level "debug" instead of "info" to avoid spamming stdout
parent
60068778
Changes
2
Hide whitespace changes
Inline
Side-by-side
VadereSimulator/src/org/vadere/simulator/projects/io/IOVadere.java
View file @
c561b066
...
...
@@ -54,7 +54,7 @@ public class IOVadere {
public
static
VadereProject
readProject
(
final
String
projectPath
,
final
MigrationOptions
options
)
throws
IOException
{
String
path
=
Paths
.
get
(
projectPath
,
IOUtils
.
VADERE_PROJECT_FILENAME
).
toString
();
String
name
=
IOUtils
.
readTextFile
(
path
);
logger
.
info
(
String
.
format
(
"Read
.
project
file from path
%s"
,
path
));
logger
.
info
(
String
.
format
(
"Read project
:
%s"
,
path
));
List
<
Scenario
>
scenarios
=
new
ArrayList
<>();
Set
<
String
>
scenarioNames
=
new
HashSet
<>();
...
...
@@ -64,7 +64,7 @@ public class IOVadere {
MigrationAssistant
migrationAssistant
=
MigrationAssistant
.
getNewInstance
(
options
);
migrationStats
=
migrationAssistant
.
analyzeProject
(
projectPath
);
logger
.
info
(
"Analy
s
ed
.
scenario files."
);
logger
.
info
(
"Analy
z
ed scenario files."
);
for
(
File
file
:
IOUtils
.
getFilesInScenarioDirectory
(
p
))
{
try
{
Scenario
scenario
=
...
...
VadereSimulator/src/org/vadere/simulator/projects/migration/jsontranformation/JsonMigrationAssistant.java
View file @
c561b066
...
...
@@ -234,8 +234,8 @@ public class JsonMigrationAssistant extends MigrationAssistant {
String
parentPath
=
dirName
.
equals
(
SCENARIO_DIR
)
?
SCENARIO_DIR
+
"/"
:
OUTPUT_DIR
+
"/"
+
scenarioFilePath
.
getParent
().
getFileName
().
toString
()
+
"/"
;
migrationLogger
.
info
(
"
>> a
nalyzing
JSON tree of
scenario
<
"
+
parentPath
+
node
.
get
(
"name"
).
asText
()
+
">"
);
logger
.
info
(
migrationLogger
.
last
());
migrationLogger
.
info
(
"
A
nalyzing scenario
file
"
+
parentPath
+
node
.
get
(
"name"
).
asText
());
logger
.
debug
(
migrationLogger
.
last
());
Version
version
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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