- 
                Notifications
    You must be signed in to change notification settings 
- Fork 45
#404: enhance logging with custom slf4j bridge #1017
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Open
      
      
            jan-vcapgemini
  wants to merge
  61
  commits into
  devonfw:main
  
    
      
        
          
  
    
      Choose a base branch
      
     
    
      
        
      
      
        
          
          
        
        
          
            
              
              
              
  
           
        
        
          
            
              
              
           
        
       
     
  
        
          
            
          
            
          
        
       
    
      
from
jan-vcapgemini:enhance/404-logging-concept
  
      
      
   
  
    
  
  
  
 
  
      
    base: main
Could not load branches
            
              
  
    Branch not found: {{ refName }}
  
            
                
      Loading
              
            Could not load tags
            
            
              Nothing to show
            
              
  
            
                
      Loading
              
            Are you sure you want to change the base?
            Some commits from the old base branch may be removed from the timeline,
            and old review comments may become outdated.
          
          
                
     Open
            
            #404: enhance logging with custom slf4j bridge #1017
                    jan-vcapgemini
  wants to merge
  61
  commits into
  devonfw:main
from
jan-vcapgemini:enhance/404-logging-concept
  
      
      
   
              
            Conversation
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
    # Conflicts: # cli/src/main/java/com/devonfw/tools/ide/cli/Ideasy.java
renamed TestLogger to IdeLoggerAdapter added missing param to javadoc renamed TestProvider to TestProviderImpl renamed TestLoggerFactory to TestLoggerFactoryImpl
added first implementations for IdeLoggerAdapter methods replaced IdeSubLoggerSlf4j with IdeSubLoggerOut
added null checks to IdeLoggerAdapter debug methods
added rest of null checks
# Conflicts: # cli/pom.xml # cli/src/main/java/com/devonfw/tools/ide/context/AbstractIdeContext.java
| Pull Request Test Coverage Report for Build 18478663135Details
 
 
 💛 - Coveralls | 
# Conflicts: # .github/workflows/update-urls.yml # cli/pom.xml # url-updater/pom.xml # url-updater/src/main/java/com/devonfw/tools/ide/url/updater/AbstractUrlUpdater.java
              
                    hohwille
  
              
              reviewed
              
                  
                    Apr 28, 2025 
                  
              
              
            
            
        
          
                cli/src/main/java/com/devonfw/tools/ide/context/AbstractIdeContext.java
              
                Outdated
          
            Show resolved
            Hide resolved
        
      
              
                    hohwille
  
              
              reviewed
              
                  
                    Apr 28, 2025 
                  
              
              
            
            
        
          
                cli/src/main/java/com/devonfw/tools/ide/context/AbstractIdeContext.java
              
                Outdated
          
            Show resolved
            Hide resolved
        
      
              
                    hohwille
  
              
              reviewed
              
                  
                    Apr 28, 2025 
                  
              
              
            
            
| Comming to the really interesting questions for the review: 
 | 
| 
 Ah, question was already answered by the CI build that fails: 
 Yes, this is required to make it work. | 
# Conflicts: # cli/src/main/java/com/devonfw/tools/ide/context/AbstractIdeContext.java
set loggingContext to private added getter for loggingContext added check to ignore WireMock specific log messages removed logback-classic from dependencies
# Conflicts: # cli/src/main/java/com/devonfw/tools/ide/context/AbstractIdeContext.java # gui/src/main/java/com/devonfw/ide/gui/MainController.java
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
      Labels
      
    enhancement
  New feature or request 
  
    internal
  Nothing to be added to CHANGELOG, only internal story 
  
    logging
  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.
  
    
  
    
Fixes: #404
Continues PR: #760 by @KianRolf
Implements:
com.devonfw.ide.tools.urlintourl-updatermodule (kept package names)WireMockdependency from 2.35.2 to 3.11.0jackson-coredependency toide-cliurlnamespace totoolsLogbackServiceProviderto url-updater serviceIdeLoggerAdapter(bridge class for slf4j)