Sending Logs

Saving Logs

Occasionally CloudBerry Backup demonstrates unexpected behavior and the regular troubleshooting methods like restarting or reinstalling the app are not helpful. For this purpose, CloudBerry Backup features a comprehensive logging mechanism that might help you or CloudBerry's support team to analyze the experienced issues.

By default, CloudBerry Backup stores logs in the following directory:

/opt/local/CloudBerry\ Backup/logs

However, if you want to save logs to a different directory, execute the following command:

./cbb saveLog -p "/users/robert/Desktop"

where:

Parameter Description Value
saveLog Indicates that logs are to be saved to a specific directory
-p Specifies the directory to which the logs will be saved String

Sending Logs

In order to send logs to CloudBerry's support team, execute the following command:

./cbb sendLog -u "userName" -e "email" -m "The app keeps crashing!" -l

where:

Parameter Description Value
-u Your username String
-e Your email address String
-m The message for the support team. Please make it descriptive! String
-l Indicates that logs should be saved in temporary directory

Logging Settings

It is also possible to configure default logging settings via command line with the following command:

./cbb option -set logging -mode High -rotation 60 -path "/Users/"
Parameter Description Value
-mode Logging level Disable / Low / High / Debug
-rotation Logs purge frequency (in days) Integer
-path Default logging path String

The logging directory must have read and write permissions for all users (chmod 777).