-
Notifications
You must be signed in to change notification settings - Fork 17
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
Logs should live in /var/vcap/sys/log, not /var/vcap/store #48
Comments
Interesting. In no case should |
As for the log level, we can move the logs into |
May also want to split this into separate Github Issues. |
Ok I'll split the issue and answer there |
As for the 3rd issue, it seems that the
And the All in all, we would really need to put this log file away from persistent storage. |
The main postgresql logs are on /var/vcap/sys/log; the startup log seems to live in the data directory, until postgresql gets configured with the new log_directory. |
Ok, I think we can close this issue and continue the discussion in #50. |
Hi,
I recently upgraded from release v6.3.6 to v6.4.0, and I'm facing 3 issues.
shield/0
VM, postgres startup produces 1.7 GB of logs which is quite a lot.By the way, shouldn't these startup logs be located inside the
/var/vcap/data/sys/log/postgres
directory?shield/0
VM, the postgres job produces 27+ GB of logs each day. This fills my production disk very quickly.For example, I recreated the
shield/0
VM yesterday and here is what I have:I didn't find a way to control the verbosity of these logs in the
postgres-9.4
job spec. Is there any other way?Would it be possible for the BOSH release to implement some rolling policies on these log files? Or is it up to the deployer to implement some BOSH add-on that does the trick?
shield/0
VM, the/var/vcap/jobs/shield-agent/bin/ctl
startup script has an issue producing this error:This is due to both
if_p("shield.agent.autoprovision")
andif_p("shield.agent.daemon_public_key")
evaluating tofalse
and not rendering their respective blocks. Even when these are set in the deployment properties, which is strange. Anyway, this issue could easily be circumvented with a mere call to/bin/true
within the curly braces so that the block is never empty from a Bash syntax point of view.The text was updated successfully, but these errors were encountered: