Search code examples
mesos

How to see the history log Message of Mesos when Master or Slave restart


I'm developing a Web App, I need to get the logs of mesos , Normally, I can get that with Url: http://host:5051/files/read.json?

but when the Master or Slave restart , I could not get the logs.. Please tell me how could I get that ?


Solution

  • All logs are stored in the log directory you specify via a --log_dir flag. I'm not sure you can access logs from previous runs via WebUI, but you can definitely ssh into the specific machine.