Introduces change in cli directory structure i.e structure of /home/<user>/frappe directory. (#59) This new directories are introduced in cli directory to compensate different changes.
Logs are stored in /home/<user>/frappe/logs.
Sites are stored in /home/<user>/frappe/sites, previously sites were stored in /home/<user>/frappe.
Introduces logging system as a module.
logs:
command invoked by user when running fm.
executed docker commands, command output and return code.
exception happend during runtime.
rotates logs when the log size hits 10 MB, creates files like fm.log.1 when rotate limit is reached.
the logs are stored in file fm.log.
Improves caret not lost after unexpected exit of the cli. Introduce exit cleanup function.
This PR:
Introduces change in cli directory structure i.e structure of
/home/<user>/frappe
directory. (#59) This new directories are introduced in cli directory to compensate different changes./home/<user>/frappe/logs
./home/<user>/frappe/sites
, previously sites were stored in/home/<user>/frappe
.Introduces logging system as a module.
fm.log.1
when rotate limit is reached.fm.log
.Improves caret not lost after unexpected exit of the cli. Introduce exit cleanup function.
Optimize checking of site existence.
64