How to see publisher logs from browser in AEM? - aem

How to see publisher logs from browser ?
I tried with "http://localhost:4503/bin/crxde/logs?tail=1000".
But i didn't get logs. Is there any way to enable this?

Use this
http://localhost:4503/system/console/slinglog/tailer.txt?tail=600&name=/logs/error.log
Change error.log to other file as needed.

just go to crx/de and see them by going to console tab and unclicking stop

Related

Bit.cloud not showing my components tests

Bit.cloud is not showing my tests, but they are right there, and they show when running bit start locally. Sadly, the link on the no tests page directing me to learn how to add tests goes to a 404.
I the workspace is public, have a look and see here, the first link the is "tests" tab showing empty, https://bit.cloud/koodoo/koomeleon/second-charge/validation/~tests, and this link is a test for the the same component https://bit.cloud/koodoo/koomeleon/second-charge/validation/~code/eligibility/dateOfBirth/index.test.ts.
Also, side note, can I get an invite to the Slack workspace please? Again the link on the bit.cloud page goes to a sign-in page for the workspace bit-dev-community, but there is no way of registering or requesting an invite.
Please and thank you in advanced.
Explanation
The reason your tests are not being show is due to its extension.
Tests are configured to use the .spec.ts extension to work.
Solution
Having said so, rename your test to:
vaidation.spec.tsx
and it will work.
edit: forgot to add the 'x' at the end of '.tsx'

Fiddler: UnGZip faild. The content could not be decompressed

Click here picture shows the error, thanks!
I don't know which session it captured occurs the error, and how to solve it?
Sadly, this is a limitation in the way that feature works. Please ensure you're on the latest version of Fiddler, and consider disabling the "Decode" option in Fiddler's toolbar; use the manual decoding features available in the Transformer response inspector.

How to check if parallel portlet rendering is working or not

I have enabled parallel portlet rendering in Webspere portal server 6.1.5. by following the below steps
legacy.useParallelRendering.html = true
std.useParallelRendering.html = true
And at individual portlet level as well.
Could somebody please suggest how can I check if this is working at runtime or not.
Regrads,
Snehan Solomon
You can verify this by checking the logs. You will see text like WorkManager in the log file.
Create a portlet that prints out a log at its start and at its end. Do a Thred.sleep in between. Add it several times to your portlet page and open that page. Check if the logs overlap or not.

How to read message from console tab view in eclipse plugin development

requirement is to read message from IConsoleConstants.ID_CONSOLE_VIEW and write it into text file.
Say myConsole (of type MessageConsole) is the reference to your console. The below code will give you the required.
myConsole.getDocument().get();
I don't think you will be able to retreive a direct stream to read the console content. Note also that the console view may have multiple different consoles, you will have to retrieve the good one.
Retrieving the content displayed in a single console should be possible going through the IDocument of a TextConsole. You can get the whole text content. You could also have a look to the IDocumentListener if you can be notified of changes.
Another solution should be to go with a PatternMatchListener of the TextConsole directly.
Anyway I don't think there is a direct solution to do this with the Eclipse console API.

How to display the error message in console using Nant in Cruisecontrol?

I wanted to display some error messages in the console of Cruisecontrol using Nant. Please let me know whether any other way is there rather than the task .
Thanks & Regards,
Priya.R
use this Link:
Cruise Control Documentation
You can specify an log Entry for occuring errors an "merge" the content of that file to build log.
Hope that solves the problem
Edit:
In addition i would recommend you reading this:
Blog Entry with Example