Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • V vadere
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 130
    • Issues 130
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • vadere
  • vadere
  • Issues
  • #222
Closed
Open
Issue created Mar 05, 2019 by Benedikt Kleinmeier@hm-kleinmeiMaintainer

Option "--logname" for "vadere-console.jar" is broken after updating to log4j2

Summary

When migrating to log4j version 2, Stefan just commented out essential code in class SetLogNameCommand. Since then, the option --logname <filename> is ignored by vadere-console.jar.

What is the current bug behavior?

No log file is created as specified with --logname <filename>.

Steps to reproduce

  1. git checkout master
  2. mvn -Dmaven.test.skip=true package
  3. java -jar VadereSimulator/target/vadere-console.jar --logname test.log scenario-run -f VadereModelTests/TestOSM/scenarios/basic_2_density_discrete_ca.scenario

Relevant data

  • [If you report a bug] Git branch name and commit hash: master

Starting point

  • Class SetLogNameCommand.java already contains a "FIXME" comment.

The class should create a FileAppender programmatically and should add it to the root logger.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking

LRZ Homepage | Datenschutz | Dokumentation und Betriebsbedingungen | Impressum