Introduction.
cam.ini
You can customize the behavior of CAMServer by editing files.cam.ini
Here's how to edit it:
- CAMServer stop
- Edit the CAMServer/cam.ini file
- CAMServer startup
This page applies to the browser version or mobile version, and does not apply to the LAN desktop version.
cam.ini setting items
access log
# HTTPアクセス毎にログを記録
cam.enableServerAccessLog=true
# 任意。上記ログにログイン認証時のEmailを追加(Emailは一部マスクされ記録されます)
cam.enableServerAccessLogEmail=true
Specify the length of the login password
# ログインパスワードの長さを指定 ※ 6以上に設定する必要があります
cam.userPasswordMinLength=8
Number of days to delete messages
Messages will be deleted to prevent degradation of normal loading speeds during long-term operation.
# 365日経過したメッセージを自動で削除
cam.deleteMessageDays=365
Move message to archive table
To prevent slowdown in normal loading speed during long-term operation, messages are moved to the archive table. Moved messages can only be viewed through log searches. This setting is only valid if cam.deleteMessageDays is not specified.
# 365日経過したメッセージをアーカイブテーブルに移動
cam.archiveMessageDays=365
Delete messages from the archive table
# 1000日経過したメッセージをアーカイブテーブルから削除
cam.deleteArchivedMessageDays=1000
Number of days to remove files attached to messages
# 365日経過したメッセージの添付ファイルを自動で削除
cam.deleteMessageAttachmentDays=365
Maximum number of characters in a message
You can specify the maximum number of characters in a sent message. If omitted, the default is 4,000 characters, and each character is counted as one character regardless of case or symbol. The message also includes HTML generated by the system, which is included in the maximum number of characters.
# 送信メッセージの最大文字数
cam.sendMessageLengthLimit=4000
Displays the remaining number of characters in the input area compared to the maximum number of characters for the message to be sent
# 送信メッセージの最大文字数に対し残り文字数を表示
cam.showRemainChar=true
Maximum size of files that can be uploaded
# アップロードファイルのサイズ上限を500MBにする
cam.uploadSizeLimitMB=500
Disk Capacity Monitoring
By default, the administrator is notified when disk space exceeds 90%. The timing of the notification is at server startup and at 23:00 daily. 80% can be changed in the cam.ini file as follows
# ディスク容量チェックを80%に変更
cam.checkExceedingDiskCapacity=80
Changing the Temp File Area
CAMServer may output temporary files to the TEMP file area of the OS. If you need to change the output destination for some reason, you can change it by writing the following in the cam.ini file.
*Please make sure the destination folder exists and you have write permissions before making the change.
# TEMPファイル領域を変更
java.io.tmpdir=E:\CAMServer\temp
Link a file path in Microsoft Edge and open it in Windows Explorer
With this setting, UNC file paths in messages become links that open the parent folder in Windows Explorer.
# Microsoft Edge でファイルパスをリンク化し、Windowsエクスプローラーで開く。UNCパスのホスト名を列挙する
cam.intranetFileLinkHostNames=host1,host2
To enable it, you need to configure the following:
Add IntranetFileLinksEnabled to the registry (Details)
Create a value under the Edge path in regedit.exe
・Registry path
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge
·value
Name: IntranetFileLinksEnabled
Type: REG_DWORD
Data: 0x00000001 (1)
The following settings need to be added to the local intranet zone in Internet Options:
- https://{Domain name accessed by CAMServer}
- file://{hostname of shared folder}
Do not display user ID or email
Please enable this setting if you do not want to display your user ID or email address on the screen.
# ユーザIDやEmailを表示しない
cam.showUserIdentity=false
不在設定を表示しない
画面上で不在設定を表示させない場合はこの設定を有効化してください。
# 不在設定を表示しない
cam.showAbsence=false
Do not display the text in the push notification popup
Enable this setting if you do not want to display the text in the push notification popup.
# Push通知のポップアップに本文を表示しない
cam.showNotificationBody=false
Hide chat room notifications setting
Enable this setting if you do not want to display the notification settings in the chat room settings.
# チャットルームの通知設定を表示しない
cam.hideChatRoomNotificationSetting=true
Redundancy and load balancing
Redundancy and load balancing settings see
HTTPポートを無効化
HTTPポートを無効化する場合はこの設定を有効化してください。
# HTTPポートを無効化
cam.enableHttpPort=false
HTTPSポートを無効化
HTTPSポートを無効化する場合はこの設定を有効化してください。
# HTTPSポートを無効化
cam.enableHttpsPort=false