-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
Hello,
I am having a problem in p4app environments with multiple switches.
The log output folder "/tmp/p4app_logs" will only contain logs for the switch with the name "s1" i.e "p4s.s1.log".
Even for the example "multiswitch.p4app", the same problem persists.
As a workaround, I am currently renaming my switch (and links) to s1 to check out the logs from the desired switch.
But I think this shouldn't be the expected behavior.
I think this issue is related to this commit message: 239dc98
There is a hardcoded commands for p4s.s1.log in "docker/scripts/p4apprunner.py":
run_command('touch /tmp/p4app_logs/p4s.s1.log')
run_command('ln -s /tmp/p4app_logs/p4s.s1.log /tmp/p4s.s1.log')
Thank you in advance 👍
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels