voidlabs/mosaico

where to find logs

Closed this issue · 3 comments

hello,
I'm having issues with Mosaico template editor. I can just find the errors that my apache shows on its logs.

Woul it be possible to check what Mossaico does in another log?
Am I missing something?

thank you in advance.

192.168.21.2 - - [17/May/2021:14:09:06 +0200] "GET /rest/templates/1 HTTP/1.0" 200 2810
192.168.21.2 - - [17/May/2021:14:09:06 +0200] "POST /rest/permissions-check HTTP/1.0" 200 141
192.168.21.2 - - [17/May/2021:14:09:06 +0200] "POST /rest/send-configurations-with-send-permission-table HTTP/1.0" 200 300
192.168.21.2 - - [17/May/2021:14:09:06 +0200] "GET /rest/namespaces-tree HTTP/1.0" 200 320
192.168.21.2 - - [17/May/2021:14:09:06 +0200] "POST /rest/mosaico-templates-by-tag-language-table/simple HTTP/1.0" 200 144
192.168.21.2 - - [17/May/2021:14:09:06 +0200] "POST /rest/lists-table HTTP/1.0" 200 339
192.168.21.2 - - [17/May/2021:14:09:06 +0200] "POST /rest/mosaico-templates-by-tag-language-table/simple HTTP/1.0" 200 211
192.168.21.2 - - [17/May/2021:14:09:06 +0200] "POST /rest/restricted-access-token HTTP/1.0" 200 50
192.168.21.2 - - [17/May/2021:14:09:09 +0200] "GET /static/mosaico/rs/img/mosaico32.png HTTP/1.0" 200 965
192.168.21.2 - - [17/May/2021:14:09:09 +0200] "GET /mosaico/img?method=placeholder&params=258%2C150 HTTP/1.0" 200 2938
192.168.21.2 - - [17/May/2021:14:09:36 +0200] "PUT /rest/restricted-access-token HTTP/1.0" 500 575
192.168.21.2 - - [17/May/2021:14:09:37 +0200] "GET /mosaico/img?method=placeholder&params=258%2C150 HTTP/1.0" 500 575
192.168.21.2 - - [17/May/2021:14:10:00 +0200] "POST /rest/permissions-check HTTP/1.0" 200 141
192.168.21.2 - - [17/May/2021:14:10:01 +0200] "POST /rest/templates-table HTTP/1.0" 200 261
192.168.21.2 - - [17/May/2021:14:10:02 +0200] "GET /rest/templates/1 HTTP/1.0" 200 2810
192.168.21.2 - - [17/May/2021:14:10:02 +0200] "POST /rest/permissions-check HTTP/1.0" 200 141
192.168.21.2 - - [17/May/2021:14:10:03 +0200] "POST /rest/mosaico-templates-by-tag-language-table/simple HTTP/1.0" 200 144
192.168.21.2 - - [17/May/2021:14:10:03 +0200] "POST /rest/lists-table HTTP/1.0" 200 339
192.168.21.2 - - [17/May/2021:14:10:03 +0200] "POST /rest/send-configurations-with-send-permission-table HTTP/1.0" 200 300
192.168.21.2 - - [17/May/2021:14:10:03 +0200] "POST /rest/restricted-access-token HTTP/1.0" 200 50
192.168.21.2 - - [17/May/2021:14:10:03 +0200] "POST /rest/mosaico-templates-by-tag-language-table/simple HTTP/1.0" 200 211
192.168.21.2 - - [17/May/2021:14:10:03 +0200] "GET /rest/namespaces-tree HTTP/1.0" 200 320
192.168.21.2 - - [17/May/2021:14:10:05 +0200] "GET /static/mosaico/rs/img/mosaico32.png HTTP/1.0" 304 -
192.168.21.2 - - [17/May/2021:14:10:04 +0200] "GET /mosaico/img?method=placeholder&params=258%2C150 HTTP/1.0" 200 2938
192.168.21.2 - - [17/May/2021:14:10:33 +0200] "PUT /rest/restricted-access-token HTTP/1.0" 500 575
192.168.21.2 - - [17/May/2021:14:10:33 +0200] "GET /mosaico/img?method=placeholder&params=258%2C150 HTTP/1.0" 500 575
bago commented

I don't know what are the /rest calls, I guess they are from some backend you downloaded somewhere or you created by your own.
Mosaico is a browser-side javascript library, the only logs you'll find are in the browser console.
If you have issues on the backend then you may want to open the ticket with the backend implementor.

Ok, thank you for the help @bago you have been very clear. The issue is croossed implementation with in MailTrain

As I am not a js programmer but more a sysadmin, I was trying to find out where to look for errors.

Thank you for the quick answer, I am closing the issue as resolved.

big thanks for the software!!!

jus in case some one arrives here asking the same issues:
on browser (FireFox or Chormium/Chrome) open the developer/inspector mode (usually F12)
select the console and check for errors
then proceed to see what is happening, in my case this is the log

Error: Request failed with status code 500
    createError webpack://MailtrainReactBody/./node_modules/axios/lib/core/createError.js?:16
    settle webpack://MailtrainReactBody/./node_modules/axios/lib/core/settle.js?:17
    handleLoad webpack://MailtrainReactBody/./node_modules/axios/lib/adapters/xhr.js?:61
page.js:561:15
    errorHandler webpack://MailtrainReactBody/./src/lib/page.js?:561
    handleError webpack://MailtrainReactBody/./src/lib/error-handling.js?:22
    handleError webpack://MailtrainReactBody/./src/lib/error-handling.js?:26
    handleError webpack://MailtrainReactBody/./src/lib/error-handling.js?:26
    handleError webpack://MailtrainReactBody/./src/lib/error-handling.js?:26
    handleError webpack://MailtrainReactBody/./src/lib/error-handling.js?:26
    value webpack://MailtrainReactBody/./src/lib/error-handling.js?:72
    asyncGeneratorStep webpack://MailtrainReactBody/./src/lib/error-handling.js?:11
    _throw webpack://MailtrainReactBody/./src/lib/error-handling.js?:13