Meza/logs

From Freephile Wiki
Revision as of 02:00, 30 October 2025 by Admin (talk | contribs) (Created page with "* <code>write_create_wiki_log()</code> - Logs '''create-wiki''' operations with timestamp, environment, unique ID, condition, wiki details, and git information * <code>get_create_wiki_log_path()</code> - Gets the path to '''create-wiki''' log files for a given environment '''Transactional Log Format''' Filename: <code>create-wiki.log</code> Content: * timestamp env unique_id condition wiki_id wiki_name git_tag git_hash secret_hash public_hash args_string '''Processi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  • 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