Groups
Groups
Sign in
Groups
Groups
IP Messenger掲示板
Conversations
Labels
About
Send feedback
Help
IPログをコマンドで設定出来るようになりませんかね?
151 views
Skip to first unread message
yousei...@yahoo.co.jp
unread,
May 3, 2017, 2:35:33 AM
5/3/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to IP Messenger掲示板
現在ログファイルはGUIで手動で設定しか出来ないと認識しておりますが、
常に立ち上げていて毎日ログを取るマシンがあるのですが、月に一度、ログファイルを手動で切り替える必要が有ります。
これを自動で切り替わるようにはできませんかね?
例えばGUIからではなくコマンドでログファイルを設定出来さえすれば、あとはコマンドプロンプトでもPowerShellでも各位自動設定が容易に組めると思うのですが・・。。
Hiroaki SHIROUZU
unread,
May 3, 2017, 5:17:50 AM
5/3/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to IP Messenger掲示板
テキストログのことですかね。
今のところそういう機能は無いのですが、ログファイルはipmsg起動中ずっとオープンしているわけではなく、書き込み時(=着信 or 送信時)に開いているだけなので、月に一度のタイミングで ipmsg.log → ipmsg年月.log、などにリネームするバッチをスケジューラ等に入れてみてはどうでしょうか。
yousei...@yahoo.co.jp
unread,
May 3, 2017, 11:07:13 AM
5/3/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to IP Messenger掲示板
なるほど、設定先のファイルをリネームすれば、また新たにメッセージが送られた際にipmsg.logが作成されるという事ですね。
書き込み時の一瞬に被らなければ良いだけであれば、リネームの失敗率はほぼ無さそうですね。
それでやってみます。
迅速な回答有難う御座いました。
Reply all
Reply to author
Forward
0 new messages