-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/52310/
-----------------------------------------------------------

(Updated Sept. 30, 2016, 2:38 p.m.)


Review request for mesos and Joseph Wu.


Bugs: MESOS-5856
    https://issues.apache.org/jira/browse/MESOS-5856


Repository: mesos


Description
-------

Switch the uid to passed user before spawning the process.


Diffs
-----

  src/slave/container_loggers/logrotate.cpp 
431bc3cbb54e94359078e4dae0b32ad301393640 

Diff: https://reviews.apache.org/r/52310/diff/


Testing
-------

1. Run the mesos-logrotate-logger with un-priviledged user and verify whether 
the logs are getting rotated. 
2. Run the mesos-logrotate-logger as root user and verify whether the logs are 
getting rotated.


Thanks,

Sivaram Kannan

Reply via email to