Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When logging an upstart job with the standard console log stanza, can the resulting log files in /var/log/upstart be configured to be written with a mode or owner other than the default?

share|improve this question
    
By 'mode' do you mean permissions? –  demure May 25 '13 at 3:17
    
yes, permissions –  abeyer May 25 '13 at 5:14

1 Answer 1

up vote 1 down vote accepted

No, upstart runs as root, and is in charge of creating the log files. You'll want to do your own logging if you want to control the owners and permissions. You can just direct the output/stderr of all of the commands to a log file if that is what you want.

share|improve this answer
1  
Looks to be the case, though not the answer I was hoping for. The whole interaction of upstart and logrotate by default in 12.04 seems to be a bit of a mess. –  abeyer Jun 12 '13 at 20:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.