Diff for /freem/src/log.c between versions 1.6 and 1.7

version 1.6, 2025/04/01 23:21:45 version 1.7, 2025/04/04 01:18:21
Line 24 Line 24
  *   along with FreeM.  If not, see <https://www.gnu.org/licenses/>.   *   along with FreeM.  If not, see <https://www.gnu.org/licenses/>.
  *   *
  *   $Log$   *   $Log$
    *   Revision 1.7  2025/04/04 01:18:21  snw
    *   Remove vestigial logging code and bump to 0.63.0-rc4
    *
  *   Revision 1.6  2025/04/01 23:21:45  snw   *   Revision 1.6  2025/04/01 23:21:45  snw
  *   fmadm commands for stopping, starting, and restarting environments now functional   *   fmadm commands for stopping, starting, and restarting environments now functional
  *   *
Line 50 Line 53
 void m_log (int level, const char *msg)  void m_log (int level, const char *msg)
 {  {
   
     FILE *fp;  
     fp = fopen ("/tmp/freem.log", "w+");  
           
 #if defined(__linux__) | defined(__FreeBSD__) | defined(__sun__)  #if defined(__linux__) | defined(__FreeBSD__) | defined(__sun__)
     syslog (level, "%s", msg);      syslog (level, "%s", msg);
 #endif  #endif
   
     fclose (fp);  
           
 }  }

Removed from v.1.6  
changed lines
  Added in v.1.7


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>