Created
          January 23, 2019 12:46 
        
      - 
      
- 
        Save vparihar01/84186d0d2b50bf0a9b9ddb13a8619de6 to your computer and use it in GitHub Desktop. 
    tail all logs for forever + apache + nginx 
  
        
  
    
      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
    
  
  
    
  | alias logall="forever logs | tail -n 1 | awk '{print $NF}' | sed 's/\x1B\[[0-9;]\+[A-Za-z]//g' | xargs sudo tail -f /var/log/nginx/error.log /var/log/nginx/access.log /var/log/nginx/search.log" | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment