Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
44 views

I developed a file handler with custom action for my OneDrive and SharePoint environment. I followed the document below : https://learn.microsoft.com/en-us/onedrive/developer/file-handlers/?view=odsp-...
Thorux's user avatar
  • 225
0 votes
0 answers
48 views

I've written a custom logger as part of a Python automation project, but I waty to make the resulting .txt files even easier to identify by adding the name of the script that called the logger to the ...
Chris Trace's user avatar
3 votes
1 answer
917 views

I want to define a filetype to open in my app and have already gotten this far: I added this to my Package.appxmanifest inside the Application tag: <Extensions> <uap:Extension Category=&...
LightJack05's user avatar
0 votes
0 answers
114 views

I have a created name.txt file which contains name of students. I want to find the position of each name using it in C. here is my main C code for extracting name.txt . FILE *fp; char c; char name[100]...
Akash Suklabaidya's user avatar
0 votes
0 answers
563 views

I am using a WildFly(version - 19) to do file directory listing using below configuration. <subsystem xmlns="urn:jboss:domain:undertow:10.0"> ... <host name="default-...
Dhamotharan's user avatar
1 vote
2 answers
547 views

I'm trying to overwrite the log file every time that I run my program, but instead, it overwrites the file with the outputs the same number of times as I've run the program. Does anyone know why is ...
John Sandoval's user avatar
-2 votes
1 answer
885 views

I want to create a little "calculator" but I dont know how can I create. My problem is, I have an input file (.txt) with codes: acc +40 acc -14 nop +386 jmp +262 acc -4 nop +25 ... the "...
Moblie Games's user avatar
0 votes
1 answer
201 views

I understand from the official documentation that rotation is done by midnight: rotatable - If true, the log file will be rotated on the first write past midnight and the filename will be {prefix}{...
joker's user avatar
  • 3,812
1 vote
0 answers
260 views

I have a service running on flask inside docker, that recieves requests. For every request, i want to export a log file including all logs from all modules in the way. Right now, it is logging ...
xGKx's user avatar
  • 65
1 vote
1 answer
290 views

I am trying to read multiple folders for a specific text file using glob.glob to search in all folders. I wanted to print only the folder name instead of folder name/file.txt. with open ('input.txt', '...
sandy's user avatar
  • 27
0 votes
1 answer
1k views

I'am trying to learn about logging. When i am created my first file handler, it has worked correctly. I created a file which named "Guesses_of_PC.log" and the handler has put it to the same ...
Burak Emmiler's user avatar
3 votes
0 answers
537 views

The background I am working on a project which uses a third party SDK to process files in a particular format. The SDK takes Data as parameter to process. In case of large files, since iOS Data object ...
Harikrishnan's user avatar
  • 8,093
-1 votes
2 answers
415 views

I am trying to open the file using a path instead of file name I used glob.glob option to go and search in the path for an input file. Now I got struck with opening that. Any help would be appreciated....
user7090's user avatar
0 votes
2 answers
1k views

I am using java.util.logging library for logging. My code is as follows : package com.test.vesrionControlSystem.services; import java.io.IOException; import java.util.Date; import java.util....
Parag Vinchurkar's user avatar
-1 votes
1 answer
834 views

You may think it a stupid question, but surely I found no specification for it. I have a mini-program that needs to log success and failures upon execution and I need the log to be kept apart from ...
iaguitos's user avatar
1 vote
1 answer
2k views

I have tried a rest api without any View with mongodb. My application is working fine with Spring boot embedded server with no error. With standalone tomcat application is running without error but ...
S.m. Abdul Wassae's user avatar
0 votes
1 answer
961 views

The following code produces some unexpected behaviour with logging.handlers.TimedRotatingFileHandler: logger1 = logging.getLogger("One") logger2 = logging.getLogger("Two") handler1 = ...
jsstuball's user avatar
  • 5,091
1 vote
1 answer
1k views

I have referred below link for using rotator and namer functions, but they are not working(not making any difference) Link: https://docs.python.org/3/howto/logging-cookbook.html#using-a-rotator-and-...
charanReddy's user avatar
3 votes
2 answers
404 views

I would like to check if two file handles refer to the same file. In order to do this, can I use the stat function applied to each file handle? Thanks in advance my $file = 'C:\temp\file.txt'); open( ...
fabrizio's user avatar
0 votes
1 answer
443 views

I have two files, File1 & File2. I want to append File2 at the end of File1. func writeToFile(content: String, fileName: String) { let contentToAppend = content+"\n" let filePath = ...
iUser's user avatar
  • 1,073
0 votes
1 answer
410 views

I am trying to create file handler add in that uses provider hosted application to open custom file. I have hosted app in heroku and until now i get request body in my application as follows when i ...
duwalanise's user avatar
  • 1,302
-3 votes
1 answer
270 views

I am calling bellow function to get contentsof the .txt file and I am getting successfully some times but some times when I am trying to get It Is going to catch block and giving the bellow error .....
tp2376's user avatar
  • 750
1 vote
3 answers
2k views

I have three classes and I want to add the logs to a shared single file. So the constructor of each class has a fh = new FileHandler("log.txt", true); LOGGER_A.addHandler(fh); ...
blob's user avatar
  • 473
3 votes
2 answers
13k views

I am using the following code to limit the size of a logfile (minimal example): import logging from logging.handlers import RotatingFileHandler # Set up logfile and message logging. logger = logging....
msg's user avatar
  • 325
0 votes
2 answers
171 views

I am fighting with some thing from yesterday. I want to log a webapp (WAR) in java. I create a log, append a FileHandler, and i send log messages. But, like all of us know, the file handler keep ...
Joaquin's user avatar
  • 47