Ask coding questions

← Back to all posts
Live Chat
h
PixelNinja

Hi, All the messages should be saved to chats.txt but it is empty exept server restart which i added

Answered by Vandesm14 [earned 5 cycles]
View Answer
Voters
PantherPlayz
AnahadDhaliwal
TheRealAlexx
GunnarWolfe
AhmedTareq2006
JacksunR
Loganjackson06
almostStatic
OxbowArt
PixelNinja
Comments
hotnewtop
Vandesm14

The problem lies with repl.it's filesystem, which is not currently reliable for this use. I've tried with my own chatroom, but ditched logs because they kept getting corrupt.

Please upvote this if it helped you out 👍

themaka

Files won't update until your repl stops running, so any sort of logging won't work in real time.

duck132912

what is the url?