Questions tagged [logging]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
32 views

view log file effectively

I searched logviewer and still not get right one! My idea is: Open a log file with log mode, then screen split with 3 window: 1 for orignal log file, the second one for filter keyword lines (regex ...
0
votes
1answer
30 views

Hierarchical logging in Emacs Lisp

What is the right way to perform hierarchical logging in Emacs Lisp? As a representative example… (scoped-message "baking cake" (progn (scoped-message "making batter" (progn (...
1
vote
1answer
74 views

Determining the string formats for datetime-timezone

When loading a .log file I get the message Warning (emacs): Failed to determine system timezone; consider customizing ‘datetime-timezone’ variable Going to the customization menu, the options are ...
5
votes
0answers
262 views

recording cross-buffer cut-and-paste

I'm interested in trying to track where my ideas come from. Suppose I open files f1,f2,f3 and cut-and-paste lines from these files into f4. I'd like to record this information in a log file (say f4....
1
vote
0answers
38 views

Can emacs replace multitail?

I often fire up a multitail multitail -f log/development.log Then I hit my development website with chrome. And then I add a regexp filter to show only lines matching the word "Processing " Can ...
3
votes
2answers
81 views

How to save last Emacs session time and hostname to a log file on quit/close

Background / Problem: I have 2 machines sharing a file directory using Google drive. I edit the shared files using Emacs on both machines alternatively everyday. I would like to make sure that at ...
1
vote
0answers
120 views

org-refile: leave a link to refiled item

My workflow: everyday, I capture (using a template) a journal entry that get saved to a datetree journal.org file. From there I would like to refile to different "project" files but I would like to ...
3
votes
1answer
404 views

How can I get :LOGBOOK: into Column View?

The items in my org-mode file will have a number of properties relating to data points that I need to capture. In conjunction with this, I'd like to continue using C-c C-z to log notes tracking ...
2
votes
1answer
55 views

How can I log all user input?

I am a Emacs newbie, so please forgive me if there is a obvious solution to this question. Is there a package which logs everything a user inputs into a emacs buffer? For example if I were to open a ...
10
votes
3answers
741 views

How to add a timestamp to each entry in Emacs' *Messages* buffer?

I depend on the *Messages* buffer a lot, but entries are not timestamped. How can one add a timestamp to each entry in Emacs' Messages buffer? So that something like this: Loading /Users/gsl/lisp.d/...
0
votes
1answer
75 views

Highlight text based on condition on consecutive lines

How can we visually add separators in log files, based on conditions between consecutive lines? Sample log file: [DEBUG][2016-05-26 10:24:51,714][FileHelper] - [realContextPath] [DEBUG][2016-05-26 ...
1
vote
2answers
262 views

How can I lifelog with Emacs?

Is there a package to log Emacs activity? I've been logging my productive activity with various tools, including shell and browser history. More I use Emacs, it's hard to track what I do. Because ...
0
votes
1answer
75 views

What key sequence is killing a large chunk of my buffer?

What is the key sequence for deleting from the current position to the beginning of the buffer? I ask not because I want to use the sequence but to prevent it from happening. I always do this by ...
6
votes
1answer
274 views

How to preserve color in *Messages* buffer?

When running (C-x C-e) the following snippet and doing M-x mes, I see text written in red in the minibuffer area, but the text in the *Messages* buffer is stripped of all formatting. (defun mes () "...
8
votes
1answer
746 views

Using Tramp for logs

I am trying to use Tramp with auto-revert-tail-mode to perform a tail of a remote log. Every time the log updates (which is often), the screen briefly jumps to the bottom of the file and then back to ...
4
votes
1answer
685 views

how to increase the debugging message level

I believe that there is a way to increase the debug level, but I don't recall how. Perhaps I am using the wrong terms, but web searches and looking on StackExchange are not providing me anything ...
10
votes
3answers
2k views

Is there a decent log viewing mode for large log files?

Some of the log files I'm working with are fairly large (>200Mb) but it would be nice to browse them in Emacs. At the moment by default Emacs attempts to enable log4j mode which just slows everything ...
5
votes
1answer
333 views

log keystrokes with timestamp and other metadata?

If I evaluate this form: (open-dribble-file "/home/joe/keys.log") then type something, Emacs saves what I type to the keys.log file: <return>hellow<backspace> keyloggi<down-mouse-5&...
12
votes
2answers
499 views

Is there a function for logging to *Messages* buffer without displaying in the echo-area?

Is there a function for logging to Messages buffer without displaying in the echo-area? Or maybe another build in log mechanism? I'm after a kind of console.log("string") kind of functionality.
1
vote
1answer
444 views

ANSI colors in log4j mode

I have some log files which contain ANSI colors, but ansi-color-for-comint-mode-on doesn't work, to get emacs to properly display the colors, and still shows the control codes. Is there another way to ...
4
votes
3answers
107 views

Inconsistent point when inserting into a buffer that is visible in another frame

While working on a sort of "background processing" function, I noticed that my logs would print backwards if the buffer was in another frame. I cannot seem to figure out why it is happening. I am not ...