How would I check the logs of my place, while teleporting or outside of the game? I have tried proxies with discord webhooks, however, they sometimes fail and need cooldowns. I won’t trust messaging service since it fails sometimes to subscribe/post and it would not be actual logging. Is there any resource online like a web which will store logs?
Oor log file where I can see them even while being teleported?
(PD: this is for game:BindToClose logs, which won’t run normally with players inside, so I can’t check its logs)
You should use TeleportDate they are inside TeleportOptions
1 Like
Could you give a bit more detail on what you’re wanting to achieve? What exactly are you logging and for what purpose? DataStores are good for long-term storage, there’s TeleportData like @Chinesse_apes mentioned (but client-side only), and then there’s MemoryStores (which replace messaging service and are like short term datastores, but a much faster and higher limit read/write).
1 Like
Yes, I also had the idea of storing it to a datastore / memorystore. I never use TeleportData since we need the client for it but for logging I might use it. However, what I’m trying to achieve is getting logs in a place after teleporting, or even while not ingame
Place1 teleports me → Place1 prints(“lol”) → I am in place2 so i cant get logs nor teleportdata (i have already been teleported and i am no longer inside Place1)
Btw purpose is only for debugging.
i think registering all MessageOut from LogService and puttting it in a MemoryStore should work.
1 Like
My post was not looking for a way to get the logs from logservice, but rather where to store them, thanks though
I guess it’s impossible then unless you host a website for it with sophiscated code that retries when it the request was not successful.
If you can do that however then
In Place1 connect MessageOut (LogService) to PublishAsync (Not sure it’s called like that) (HttpService)
In Place2 retrieve the logs using GetAsync (HttpService not sure it’s called like that) after every x seconds
1 Like
It’s way easier if each place just sends the logs to the website and in my website i check them myself. Or just using memorystoreservice / datastore, which would be really similar
If you’re talking about two separate games/experiences, which is important to note the difference, then no Roblox API will be able to help you accomplish that outside of HttpService like @Chinesse_apes mentioned. TeleportData won’t work either as data is lost between games/experiences (it can only be used for places within the same game universe).
1 Like
Nope, I’m talking about the same experience, places inside it. I already know that datastores are limited to places between an experience
In that case, I would go with MemoryStores if you’re working with secure data. It’s probably also more reliable than TeleportData as well. MemoryStores are the proper method for cross-server communication.
1 Like