Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt November 11, 2024
Dean Hamer Posted Tuesday at 10:06 PM Posted Tuesday at 10:06 PM Hi, Today I migrated my forum to a new host and a new VPS. Currently, the log files are growing at around 2mb per 10 minutes with the following being the most common logs: Quote ------------------------------------ cURL REQUEST: https://remoteservices.invisionpower.com/connectionCheck/?version=107785 ------------------------------------ User-Agent: Invision Community 4 NULL ------------------------------------ RESPONSE ------------------------------------ HTTP/1.1 200 OK Content-Type: text/plain;charset=UTF-8 Content-Length: 10 Connection: keep-alive Date: Tue, 07 Jan 2025 22:01:03 GMT Server: Apache Set-Cookie: AWSALB=UL3vNASDqXoaYBC/neJ91PPEyO9pdpha3aBzqxEzMLGvKPt4c4y+G5ckpXh0V0FWhRZWcftw3iO4dRWzJ1gDbpsxFEDEd2JOvh+tQ2Rw7pQQ8z1qy9P9cGyxp+st; Expires=Tue, 14 Jan 2025 22:01:03 GMT; Path=/ Set-Cookie: AWSALBCORS=UL3vNASDqXoaYBC/neJ91PPEyO9pdpha3aBzqxEzMLGvKPt4c4y+G5ckpXh0V0FWhRZWcftw3iO4dRWzJ1gDbpsxFEDEd2JOvh+tQ2Rw7pQQ8z1qy9P9cGyxp+st; Expires=Tue, 14 Jan 2025 22:01:03 GMT; Path=/; SameSite=None X-Cache: Miss from cloudfront Via: 1.1 0f282d08050e2e1301f27b3575348bb4.cloudfront.net (CloudFront) X-Amz-Cf-Pop: TXL50-P6 X-Amz-Cf-Id: Ah1TuUbXVer_VzgGxcSkFQYysYcS3U32u2F-0q8oEzxftlLnPMUijQ== 1736287263 I've removed identifiable information from the below log: Quote Array ( [event] => member_edited [payload] => Array ( [member] => Array (op [id] => 539 [name] => MEMBERNAME [title] => [timeZone] => Europe/London [formattedName] => <span style='color:#bf9000'>MEMBERNAME</span> [primaryGroup] => Array ( [id] => 24 [name] => e0b4050f84a192751b51fb5053b6775f [formattedName] => <span style='color:#bf9000'>e0b4050f84a192751b51fb5053b6775f</span> ) [secondaryGroups] => Array ( ) [email] => [joined] => 2020-08-29T14:15:29Z [registrationIpAddress] => [warningPoints] => 0 [reputationPoints] => 1935 [photoUrl] => [photoUrlIsDefault] => [coverPhotoUrl] => [profileUrl] => [validating] => [posts] => 2523 [lastActivity] => 2025-01-07T22:01:01Z [lastVisit] => 2025-01-07T04:31:32Z [lastPost] => 2025-01-05T17:19:38Z [birthday] => 12/28/1963 [profileViews] => 1853 [customFields] => Array ( [1] => Array ( [name] => Personal Information [fields] => Array ( [1] => Array ( [name] => About Me [value] => ) [2] => Array ( [name] => Biography [value] => ) [3] => Array ( [name] => Location [value] => ) [4] => Array ( [name] => Interests [value] => ) [5] => Array ( [name] => Occupation [value] => ) ) ) [6] => Array ( [name] => Retained [fields] => Array ( [6] => Array ( [name] => Member Title [value] => ) ) ) ) [rank] => Array ( [id] => 18 [name] => [icon] => [points] => 13000 ) [achievements_points] => 18495 [allowAdminEmails] => 1 [completed] => 1 ) [changes] => Array ( [create_menu] => {"menu_key":805536801,"menu":{"topic":{"link":"","extraData":{"data-ipsDialog":true,"data-ipsDialog-size":"narrow"},"title":"select_forum"},"gallery_image":{"link":"?_new=1","extraData":{"data-ipsDialog-size":"medium","data-ipsDialog":"true","data-ipsDialog-destructOnClose":"true","data-ipsDialog-close":"false","data-ipsDialog-extraClass":"cGalleryDialog_outer","data-ipsDialog-remoteSubmit":"true"}},"invitation_create_new":{"link":"?_new=1","extraData":{"data-ipsDialog":true,"data-ipsDialog-size":"narrow"},"title":"send_invitation"}}} ) ) [filters] => Array ( [completed] => 1 [allowAdminEmails] => 1 ) ) I was wondering if anyone knew what was causing these issues and if I can clear the log after fixing?
Marc Posted 20 hours ago Posted 20 hours ago There are 3rd party items being loaded for each one of those logs. I would advise on disabling all 3rd party applications and plugins first of all to see if thats still happening. If its not, switch them on one at a time until you see which is causing the issue. If that doesnt resolve the problem, please update your ftp details on file
Dean Hamer Posted 20 hours ago Author Posted 20 hours ago It looks like it has settled now, I'm not sure if it was the initialisation of the applications?
Daniel F Posted 19 hours ago Posted 19 hours ago It seems you're logging "all" the stuff. Check your constants.php and remove the row with DEBUG_LOG
Dean Hamer Posted 19 hours ago Author Posted 19 hours ago 4 minutes ago, Daniel F said: It seems you're logging "all" the stuff. Check your constants.php and remove the row with DEBUG_LOG Will I need this in the future for fault diagnosis or will the other logs surfice?
Marc Posted 19 hours ago Posted 19 hours ago Thats something you would only really add in if you are actively trying to debug an issue Dean Hamer 1
Dean Hamer Posted 19 hours ago Author Posted 19 hours ago 6 minutes ago, Marc said: Thats something you would only really add in if you are actively trying to debug an issue Perfect, thanks for your help guys, last question, how do I purge the current logs to reduce them or will this do it over time? If so, how long?
Marc Posted 19 hours ago Posted 19 hours ago They would reduce automatically based on what you have set in the settings part of your system logs page. If you really wanted to get rid immediately, you could remove them from the table if you wanted to, but we cannot advise you to do that. The official response would be to await them being removed by the system automatically Dean Hamer 1
teraßyte Posted 14 hours ago Posted 14 hours ago Here you go if you don't want to wait: https://invisionbyte.net/files/file/282-tb-delete-all-system-logs-button/ Marc 1
Recommended Posts