Skip to content

[BUG] 任务实际日志路径和任务实例的日志路径不相同,导致无法查看日志 #723

@zhanghuidouble

Description

@zhanghuidouble

*For better global communication, please give priority to using English description, thx! *

Describe the bug
the task instance log is System.getProperty("user.dir") + "/logs/" *
but I can change the path with the log xml

To Reproduce
Steps to reproduce the behavior, for example:

  1. I config the log Path to other dir for worker_log.xml
  2. run the task ,then get the rollView log
  3. the log path of task instance in database is still the user work dir + "/logs"
  4. the path not exist

Expected behavior
the task instance log path should be same with the log xml properties

Screenshots
If applicable, add screenshots to help explain your problem.

Which version of Easy Scheduler:
-[1.1.0]

Additional context
Add any other context about the problem here.

**Requirement or improvement

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions