Hot answers tagged

3

I solved this by adding ignore_errors: true register: results to the no_log-task. This makes ansible continue to the next task, even when the task fails. Then for the next task define a debug task, which always fails and outputs the registered variable, but only runs when the previous task failed: - name: Error output debug: var: results ...


3

The question hasn't had an answer in seven months so I will promote my upvoted comment to an answer: Finding the lifecycle of a specific message across services is known as "distributed tracing". Distributed tracing requires more than just capturing logs. OpenShift uses Kubernetes which is part of cncf.io/projects which governs opentracing.io and has one ...


2

If you are dealing with application logs, here are the three broad categories of information that a good log file should cover: basic context (timestamp, log level, application name, source file name, source module/function, source line number, log message) server context (host name, data center name unless host name has it encoded, cluster/pod info, ...


1

Try Sparky. This is a lightweight but powerful alternative to linux crontab. It comes with nice UI to see cronjob reports and statues. You can also run tasks remotely over ssh or through docker. The typical tasks you've mentioned are covered by existing DSL ( written on Perl6 ), for example: "Does a file, with a maximum age, exist on some network share?" ...


1

If all the files are there without any extension then yes you can execute the cat command with * (cat ) it will display the content of each and every files underneath this directory, but here in your output it has the zip files (.gz) too, so you need to execute 2 commands rather than single command... cat syslog syslog.1 zcat *.gz Hope this will helps.


1

Activity Logs can only able to show the resource level logs like creating a resources,deleting a resources modify the SKU of the resources etc, Assuming from your question you are saying web app deployment from azure devops,which is more like a deployment of code to an existing webapp which will not be covered by activity logs. You need to go to that azure ...


1

That doc say next: When running Tomcat on unixes, the console output is usually redirected to the file named catalina.out. The name is configurable using an environment variable. (See the startup scripts). Whatever is written to System.err/out will be caught into that file. That may include: Uncaught exceptions printed by java.lang....


Only top voted, non community-wiki answers of a minimum length are eligible