version 1.5, 2025/04/01 20:11:46
|
version 1.6, 2025/04/01 23:21:45
|
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.6 2025/04/01 23:21:45 snw |
|
* fmadm commands for stopping, starting, and restarting environments now functional |
|
* |
* Revision 1.5 2025/04/01 20:11:46 snw |
* Revision 1.5 2025/04/01 20:11:46 snw |
* Further work on fmadm |
* Further work on fmadm |
* |
* |
Line 53 void m_log (int level, const char *msg)
|
Line 56 void m_log (int level, const char *msg)
|
#if defined(__linux__) | defined(__FreeBSD__) | defined(__sun__) |
#if defined(__linux__) | defined(__FreeBSD__) | defined(__sun__) |
syslog (level, "%s", msg); |
syslog (level, "%s", msg); |
#endif |
#endif |
fprintf (fp, "%s\n", msg); |
|
|
|
fclose (fp); |
fclose (fp); |
|
|