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

Reading Solo system logs #40

Open
4 tasks
tcr3dr opened this issue Aug 28, 2015 · 9 comments
Open
4 tasks

Reading Solo system logs #40

tcr3dr opened this issue Aug 28, 2015 · 9 comments

Comments

@tcr3dr
Copy link
Contributor

tcr3dr commented Aug 28, 2015

We need a section in "Troubleshooting" about reading and consuming Solo system logs.

  • What process monitors logs? (syslogd?)
  • Where are logs located? (/log/ ?)
  • What processes generate what logs?
  • What happens when the log directory is full?
@tcr3dr
Copy link
Contributor Author

tcr3dr commented Sep 1, 2015

@tcr3dr tcr3dr added the blocker label Sep 1, 2015
@tcr3dr
Copy link
Contributor Author

tcr3dr commented Sep 1, 2015

Nick just asked if we know how to get the logs of Python scripts. Would be good to include also.

@tcr3dr
Copy link
Contributor Author

tcr3dr commented Sep 1, 2015

@mrpollo Do you know who would be appropriate to pull in to fill some of this content?

@mrpollo
Copy link
Contributor

mrpollo commented Sep 1, 2015

Can you clarify on "logs of python scripts"? do you mean the smart shots?

Probably @johnfinley can confirm all of this.

@tcr3dr
Copy link
Contributor Author

tcr3dr commented Sep 1, 2015

Particularly, if shotManager.py dies, where is the Python log one would dig into to get at it.

John, for sure, but also if anyone can help write the section in some detail, that would be helpful.

@eliao
Copy link
Contributor

eliao commented Sep 1, 2015

John can talk about the other logs, but here is my contribution:

Both Artoo/Solo logs are in /log. They roll every boot, such that the latest log is always .log, next is .log.1, .log.2, etc. We only save 20 logs, so filling up the logs should not be an issue.

ShotManager logs are named shotlog.log.n and contain various high level events triggered by the shots. If it happens to crash, in most cases the exception and callstack will be written to this log as the last event.

@tcr3dr tcr3dr added editing and removed mvp labels Sep 2, 2015
@tcr3dr tcr3dr self-assigned this Sep 2, 2015
@tcr3dr
Copy link
Contributor Author

tcr3dr commented Sep 2, 2015

Thanks @eliao! Added your content. 822dc87

Nominating this for a non-blocker considering the basics are covered.

@tcr3dr tcr3dr removed the blocker label Sep 2, 2015
@tcr3dr
Copy link
Contributor Author

tcr3dr commented Oct 28, 2015

Also see #202

@franknitty69
Copy link
Contributor

does advanced-logs satisfy this? if so can this be closed?

http://dev.3dr.com/advanced-logs.html

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

No branches or pull requests

4 participants