hitrov / oci-arm-host-capacity

This script allows to bypass Oracle Cloud Infrastructure 'Out of host capacity' error immediately when additional OCI capacity will appear in your Home Region / Availability domain.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Timestamps to oci.log

Carson365 opened this issue · comments

commented

Hello,

I have used this script successfully in the past but by now it appears that there are absolutely no domains left. I have been running the script for months now with no luck. This means that I have long stretches of time without checking the logs, and on occasion I have noticed that for one reason or another it stopped working. I think it would be quite helpful to include a timestamp by default so that we can check the log and quickly be able to tell when a job was run. It would be as simple as changing line 90 in index.php to echo date('d/m/y h:i:s'), " $message\n";

For me it was on line 98 " echo "$message\n"; "

It worked perfect, thank you 👍

commented

Works great, thanks

Worked, thanks