Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Log file under Ubuntu 22.04 Linux

Log file under Ubuntu 22.04 Linux 1 year 1 week ago #3049

  • ermi
  • ermi's Avatar
  • Offline
  • New Member
  • Posts: 8
  • Karma: 0
I've installed an eval version under Ubuntu 22.04.
May I know where is the log files location under Linux for us to troubleshoot?
The administrator has disabled public write access.

Log file under Ubuntu 22.04 Linux 1 year 1 week ago #3050

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 896
  • Thank you received: 132
  • Karma: -107
Hello,

Log file you can find out in the folder where installed TeslaSCADA IDE or Runtime in the logs folder.

Best regards,
Ruslan
Last Edit: 1 year 1 week ago by fatkhrus.
The administrator has disabled public write access.

Log file under Ubuntu 22.04 Linux 1 year 1 week ago #3071

  • ermi
  • ermi's Avatar
  • Offline
  • New Member
  • Posts: 8
  • Karma: 0
Found them under:
/opt/TeslaSCADA_Runtime/app/logs/
But they are own by root.
Does that mean the runtime should be run by the root user?
Because if the directory is own by root, normal user might not be able to write into the logs directory.
The administrator has disabled public write access.

Log file under Ubuntu 22.04 Linux 1 year 1 week ago #3073

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 896
  • Thank you received: 132
  • Karma: -107
You can try to provide access for the user you want.

Best regards,
Ruslan
The administrator has disabled public write access.

Log file under Ubuntu 22.04 Linux 1 year 4 days ago #3078

  • ermi
  • ermi's Avatar
  • Offline
  • New Member
  • Posts: 8
  • Karma: 0
Currently:
log4j2.properties and log4j.properties and store in the TeslaSCADA2_Runtime.jar it self

Question:
How can we override it with my custom log4j2.properties?
For example if we want to change the:
  1. roll over strategy
  2. log level
  3. add more appenders
  4. log location

Thanks
The administrator has disabled public write access.

Log file under Ubuntu 22.04 Linux 1 year 4 days ago #3079

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 896
  • Thank you received: 132
  • Karma: -107
Hello,

You can place your own log4j2.properties file in the directory where installed TeslaSCADA2 Runtime. This file will be used in this case.

Best regards,
Ruslan
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Go to top