949 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
66
views
How to create a log file containing the name and timestamp of files copied from a storage account to another in Azure Data Factory
I am looking for a way to create a log file for the files copied from one storage account to another. This log file should be a CSV file and contain the names and timestamps of all copied files.
I ...
0
votes
0
answers
48
views
Log messages to file present tenant's directory when using tenancy for laravel (Stancl/tenancy)
I am using Tenancy for Laravel (Stancl/Tenancy), Laravel 11, package. Everything working well. I want to know how to supply name of channel as a variable to log messages in the tenant's folder using ...
0
votes
0
answers
49
views
Unzipping Folders and Lox Files to Access Log Files Using Python
I am attempting to create a python script that can unzip a folder and unzip/extract data from the lox files located inside of the zipped folder so I can access log files within the lox files.
import ...
0
votes
2
answers
57
views
python sending mail email.message read textfile to body
I have a following python script that sends email when a linux machine restarts. It works but a tiny modification is needed. I need to read a log file and include the contents as body in the mail.......
-1
votes
1
answer
77
views
Is it possible to make a Discord bot print out text from a .log file? (Received some errors)
I am trying to make a Discord bot print out certain text from a .log file with a @event.commanddecorator, but it shows errors. The Discord bot will only print out text when a row of text contains ...
0
votes
1
answer
117
views
rsyslog mutiple logfiles in %msg%
I have set up a rsyslog-server to receive firewall logs from a Sophos XGS4300 over TLS.
The connection is working fine and I am receiving logfiles from the firewall.
BUT in a single (syslog) message (%...
0
votes
1
answer
95
views
How to see the logs of failed snakemake jobs immediately in stderr - instead of log file
I'm running snakemake inside kubernetes with argocd. When a job errors, snakemake says that the logs of the failed job are in a log file. Now I can't easily look this logfile up because argocd doesn't ...
0
votes
1
answer
109
views
Extracting and formatting data from auth.log file using Bash [closed]
I need to extract authorization data from the auth.log file. I also need to format this data so that it is easy to view. In my case, it is several columns: Date Time User Action IP.
I already have a ...
0
votes
2
answers
657
views
Issue with Folder and File Creation in MAUI Project
I am trying to create a folder and a text file in a MAUI project. When I run the application, I receive the following message:
Base Directory: C:\Users\xyz\AppData\Local
Log Directory: C:\Users\xyz\...
0
votes
1
answer
161
views
Requesting FritzBox logfile via Python 'wget' subprocess on Raspberry Pi >> HTML instead of JSON returned
I am trying download the event and WLAN logs from my AVM FritzBox 7350 router (OS 7.57) in JSON format using a Python 3 script. Whilst it works well on my ArchLinux machine, I only get a HTML file on ...
0
votes
1
answer
251
views
Azure Functions Application Insights: ILogger Messages Not Appearing in Logs
I have two Azure Functions: one using Durable Orchestration and another using a Queue Trigger. Both functions utilize ILogger for logging with log.LogInformation and log.LogWarning, and also have ...
0
votes
1
answer
145
views
Using ipfw and pf together
I would like to use pf and ipfw at the same time for different tasks, but I can not understand who is activated first (if there is an order) when a rule is received.
Also trying to verify this, I can’...
0
votes
1
answer
121
views
splunk search a log and every time a specific line has been written more than 5 time since last search send a mail
what my alert looks like...
I want to search a specific log every day every 5th minute. And if a specific word is written more than 5 times i want to recieve an email.
What should my alert look like?
...
-2
votes
2
answers
92
views
Creating log txt file [duplicate]
I am trying to create a log_file.txt in python.
SO, whenever I run the script each time it should generate new log file.
For example:
log_file
log_file1
log_file2
.
.
.
.
def log(message):
try:
...
2
votes
1
answer
207
views
Using Airflow version 2.5.3 and Cloud Composer version 2.6.2, DAGs frequently throw this error of log file not found
Error message - "*** Log file is not found:
*** The task might not have been executed, or the worker executing it might have finished abnormally (e.g., was evicted)."
Please, refer https://...