Meza/logs

From Freephile Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
  • write_create_wiki_log() - Logs create-wiki operations with timestamp, environment, unique ID, condition, wiki details, and git information
  • get_create_wiki_log_path() - Gets the path to create-wiki log files for a given environment

Transactional Log Format

Filename: create-wiki.log

Content:

  • timestamp env unique_id condition wiki_id wiki_name git_tag git_hash secret_hash public_hash args_string

Processing Log

Filename: {env}-{timestamp}.log):

  • Contains real-time ansible playbook output
  • Used by tail functionality for live monitoring
  • Timestamped filename for easy identification