Migrate logging to slog
          #18
        
          
      
                
     Open
            
            
          
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Motivation
This PR migrates the project's logging mechanism to the standard Go
slogpackage.The main goals are to leverage structured logging capabilities for better log parsing and analysis, improve log formatting, and align with modern Go logging practices without using a third-party external dependency.
Additionally, the Dockerfile is updated to use newer versions of Go and Alpine for improved security and features, in particular to include the
slogstandard module (available starting from Go1.21.0).Description of Changes
slogpackage for improved log formatting and structured logging (2b215d3).eeb1809).slogfor their logging output and improved JSON log validation where applicable (477234e).Dockerfileto use Go1.24and Alpine3.21(bfa6ed1).Checklist
Notes for Reviewers
zerolog) to Go's standardslogpackage. Reviewers should pay attention to the log output format and the refactored tests.