Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incomplete log since Kinetic #89

Open
FrancoisTeyssere opened this issue Sep 24, 2019 · 2 comments
Open

Incomplete log since Kinetic #89

FrancoisTeyssere opened this issue Sep 24, 2019 · 2 comments

Comments

@FrancoisTeyssere
Copy link

Greetings,

At the time I used this package with 14.04, Indigo and upstart, there was no issue getting a full log of every node in real time by usingtail -f on the myjob.log file.

However, now that it's under 16.04 with Kinetic and systemd, I can't seem to find a viable option to obtain a full log, as if I were running roslaunch from a terminal.

I tried sudo journalctl -u myjob.service -f -n 50 -o short, but only some of the messages are displayed here (I did not identify yet what decides which messages are shown or not).

I also tried to set the log directory with --logdir, but I get one log file per node and rosout's logfile does not display all the messages either.

Did anyone manage to have an aggregate view of all the log messages, as if launched from a terminal?

@mikepurvis
Copy link
Contributor

The journal for the generated unit contains all the stdout/stderr stuff emitted by roslaunch— exactly the content that used to go into the var/log/upstart/[unit].log file. Some other stuff may be ending up in ROS_LOG_DIR (by default ~/.ros/log), but that was the case under both upstart and systemd.

@paulbovbel
Copy link

journald may require some extra configuration, see the Storage and RateLimit* settings in particular.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants