log_file Name to include date. #1749
              
                Unanswered
              
          
                  
                    
                      fractal815
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 1 comment 1 reply
-
| 
         I forgot to include the environment info. I am running motion on a ubuntu 23.10 and motion version 4.5.1.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
I'm wanting to include the date in the log file name. I have attempted to use the Conversion Specifiers (%Y-%m-%d) and also the linux/bash date functions such as "
date -Idate" in the name in the log_file parameter. Motion does not resolve either of these, giving me names like /home/frank/motion/logs/motion-%Y-%m-%d.log or /home/frank/motion/logs/motion-"date -Idate".log . Anyone have any thoughts on how to accomplish this? So far the only thing that works is to launch motion at the command line and pass the name there, but this is not an acceptable method.Beta Was this translation helpful? Give feedback.
All reactions