doublep / datetime

Library for parsing, formatting, matching and recoding timestamps and date-time format strings.
GNU General Public License v3.0
19 stars 4 forks source link

Logview broke with a timezone change #11

Closed vemv closed 8 months ago

vemv commented 8 months ago

Hi!

I'm writing as a maintainer of CIDER which has a logview integration that you can learn about here:

https://github.com/clojure-emacs/cider/blob/master/cider-log.el https://docs.cider.mx/cider/debugging/logging.html

Today, with a CET->CEST timezone change, logview stopped working. Now our logs are in fundamental-mode rather than logview-mode.

If I try to M-x logview-mode while I get coloring once, the logs will no longer work.

The following will pop up (4 times):

Warning (emacs): Failed to determine system timezone; consider customizing ‘datetime-timezone’ variable

This is a sample of an application's logs:

2024-03-31 19:34:00.000 [nREPL-session-252c6277-7d8b-466f-8dbe-3e0e42fe5cef] REPORT gpml.scheduler:136:7 - :starting-noop-scheduler {}
2024-03-31 19:34:01.000 [nREPL-session-252c6277-7d8b-466f-8dbe-3e0e42fe5cef] INFO duct.database.sql.hikaricp:30:7 - :duct.database.sql/query {:query ["SELECT id FROM ragtime_migrations ORDER BY created_at"], :elapsed 3}
2024-03-31 19:34:01.000 [nREPL-session-252c6277-7d8b-466f-8dbe-3e0e42fe5cef] INFO gpml.handler.main:93:7 - :initialising-handlers {}
2024-03-31 19:34:02.000 [nREPL-session-252c6277-7d8b-466f-8dbe-3e0e42fe5cef] REPORT duct.server.http.jetty:13:7 - :duct.server.http.jetty/starting-server {:port 3000}
2024-03-31 19:34:02.000 [nREPL-session-252c6277-7d8b-466f-8dbe-3e0e42fe5cef] INFO gpml.scheduler.brs-api-importer:673:7 - :handle-brs-api-import {:time-zone "Europe/Madrid", :identity "brs-api-importer", :cron "0 0 3 1/7 * ? *"}
2024-03-31 19:34:02.000 [nREPL-session-252c6277-7d8b-466f-8dbe-3e0e42fe5cef] REPORT gpml.scheduler.chat-active-status-observer:110:7 - :chat-active-status-observation {:time-zone "Europe/Madrid", :identity "chat-active-status-observer", :cron "0 0/2 * * * ?"}
2024-03-31 19:34:02.000 [nREPL-session-252c6277-7d8b-466f-8dbe-3e0e42fe5cef] REPORT gpml.scheduler.chat-message-summarizer:286:7 - :chat-message-summarization {:time-zone "Europe/Madrid", :identity "chat-message-summarizer", :cron "0 0/5 * * * ?"}
2024-03-31 19:34:02.000 [nREPL-session-252c6277-7d8b-466f-8dbe-3e0e42fe5cef] INFO gpml.scheduler.leap-api-policy-importer:837:7 - :handle-leap-api-policy-import {:time-zone "Europe/Madrid", :identity "leap-api-policy-importer", :cron "0 0 2 1/14 * ? *"}

...oddly enough, there's no timezone part in 2024-03-31 19:34:01.000 so I don't immediately get why the error is happening.

Does this ring a bell?

Thanks - V

vemv commented 8 months ago

Warning (emacs): Failed to determine system timezone; consider customizing ‘datetime-timezone’ variable

I had tried (globally) setting this to "es-ES" but it made no difference.

Our integration doesn't use logview-additional-submodes btw - we stick to the standard Logback format.

doublep commented 8 months ago

It's not Logview itself, but a library it uses for parsing timestamps.

What is your OS?

Evaluating (datetime--determine-system-timezone) is probably what throws the error, is that correct? What is the value of (current-time-zone)?

vemv commented 8 months ago

Hi Paul, thanks for the quick reply!

I'm on macos.

ielm> (require 'logview)
logview
ielm> (datetime--determine-system-timezone)
*** Eval error ***  Failed to determine system timezone; consider customizing ‘datetime-timezone’ variable
ielm> (current-time-zone)
(7200 "CEST")
doublep commented 8 months ago

What is the value of system-type Elisp variable?

Please execute the following from the shell (or M-!): ls -l /etc/localtime and cat /etc/timezone.

vemv commented 8 months ago

system-type is darwin

ls -l /etc/localtime (pasting as-is):

TZif2¢Äû∫≈ü†9†ê°ÅlÄ™Ôp™Án≠…ßÆß2؆Op∞á±âz≤p0Ä≥ràp¥PĬ…Ï√X]ƒH?ƒm‡≈9t`«![Ä«ıéÀıfi`ÃïqÕ√K`Œ†’pœ£-`–Ä∑p—É`“`ôp”bÒ`‘@{pŸF‡ŸÈ[
Õ‡Ùíp  Ì؇
‘tpª‡´
§9`ä˝ÑEêt6êd'êTêMD3˙ê#Îê‹êÕêÛæê„Øꔆê√ëêºΩ¨Æúüåê|Å lr!\c"LT#<E$,6%'&'Cê'ı4ê(Â%ê)’ê*≈ê+¥¯ê,§Èê-î⁄ê.ÑÀê/tºê0d≠ê1]Ÿ2r¥3=ª4Rñ5ù62x6˝8îê8›a9˚vê:ΩC;€Xê<¶_ê=ª:ê>ÜAê?õê@f#êAÑ9BFêCdD%ÁêEC˝F…êG#flGÓÊI¡IŒ»J„£KÆ™LÃøêMéåN¨°êOnnPåÉêQWäêRleêS7lêTLGêUNêV,)êV˜0êXFX◊êYı(Z∂Ùê[’
\†]¥Ï^Û_îŒ`_’a}Íêb?∑c]Ãêdôe=ÆêfµêgêêgËóêh˝rêi»yêj›Têk®[êl∆qmà=ên¶SohêpÜ5qQ<rfs1tE˘uv/êv‚x˜êx–ƒyÓŸêz∞¶{Œªê|ô¬ê}Æùê~y§êéê   

ˇˇ¸å    
      LMTWESTWETWEMTCESTCETTZif2¢ˇˇˇˇ~6µˇˇˇˇû∫≈ˇˇˇˇü†9ˇˇˇˇ†êˇˇˇˇ°Ålġˇˇˇ™Ôpˇˇˇˇ™Ánˇˇˇˇ≠…ßˇˇˇˇÆß2ˇˇˇˇØ†Opˇˇˇˇ∞ᡡˇˇ±âzˇˇˇˇ≤p0ġˇˇˇ≥ràpˇˇˇˇ¥Pġˇˇˇ¬…Ïˇˇˇˇ√X]ˇˇˇˇƒH?ˇˇˇˇƒm‡ˇˇˇˇ≈9t`ˇˇˇˇ«![ġˇˇˇ«ıéˇˇˇˇÀıfi`ˇˇˇˇÃïqˇˇˇˇÕ√K`ˇˇˇˇŒ†’pˇˇˇˇœ£-`ˇˇˇˇ–Ä∑pˇˇˇˇ—É`ˇˇˇˇ“`ôpˇˇˇˇ”bÒ`ˇˇˇˇ‘@{pˇˇˇˇŸF‡ˇˇˇˇŸÈ[
Õ‡Ùíp  Ì؇
‘tpª‡´
§9`ä˝ÑEêt6êd'êTêMD3˙ê#Îê‹êÕêÛæê„Øꔆê√ëêºΩ¨Æúüåê|Å lr!\c"LT#<E$,6%'&'Cê'ı4ê(Â%ê)’ê*≈ê+¥¯ê,§Èê-î⁄ê.ÑÀê/tºê0d≠ê1]Ÿ2r¥3=ª4Rñ5ù62x6˝8îê8›a9˚vê:ΩC;€Xê<¶_ê=ª:ê>ÜAê?õê@f#êAÑ9BFêCdD%ÁêEC˝F…êG#flGÓÊI¡IŒ»J„£KÆ™LÃøêMéåN¨°êOnnPåÉêQWäêRleêS7lêTLGêUNêV,)êV˜0êXFX◊êYı(Z∂Ùê[’
\†]¥Ï^Û_îŒ`_’a}Íêb?∑c]Ãêdôe=ÆêfµêgêêgËóêh˝rêi»yêj›Têk®[êl∆qmà=ên¶SohêpÜ5qQ<rfs1tE˘uv/êv‚x˜êx–ƒyÓŸêz∞¶{Œªê|ô¬ê}Æùê~y§êéê   

ˇˇ¸å    
      LMTWESTWETWEMTCESTCET
CET-1CEST,M3.5.0,M10.5.0/3

/etc/timezone: does not exist on my machine

tree -fi /usr/share/zoneinfo/:

/usr/share/zoneinfo
/usr/share/zoneinfo/+VERSION
/usr/share/zoneinfo/Africa
/usr/share/zoneinfo/Africa/Abidjan
/usr/share/zoneinfo/Africa/Accra
/usr/share/zoneinfo/Africa/Addis_Ababa
/usr/share/zoneinfo/Africa/Algiers
/usr/share/zoneinfo/Africa/Asmara
/usr/share/zoneinfo/Africa/Asmera
/usr/share/zoneinfo/Africa/Bamako
/usr/share/zoneinfo/Africa/Bangui
/usr/share/zoneinfo/Africa/Banjul
/usr/share/zoneinfo/Africa/Bissau
/usr/share/zoneinfo/Africa/Blantyre
/usr/share/zoneinfo/Africa/Brazzaville
/usr/share/zoneinfo/Africa/Bujumbura
/usr/share/zoneinfo/Africa/Cairo
/usr/share/zoneinfo/Africa/Casablanca
/usr/share/zoneinfo/Africa/Ceuta
/usr/share/zoneinfo/Africa/Conakry
/usr/share/zoneinfo/Africa/Dakar
/usr/share/zoneinfo/Africa/Dar_es_Salaam
/usr/share/zoneinfo/Africa/Djibouti
/usr/share/zoneinfo/Africa/Douala
/usr/share/zoneinfo/Africa/El_Aaiun
/usr/share/zoneinfo/Africa/Freetown
/usr/share/zoneinfo/Africa/Gaborone
/usr/share/zoneinfo/Africa/Harare
/usr/share/zoneinfo/Africa/Johannesburg
/usr/share/zoneinfo/Africa/Juba
/usr/share/zoneinfo/Africa/Kampala
/usr/share/zoneinfo/Africa/Khartoum
/usr/share/zoneinfo/Africa/Kigali
/usr/share/zoneinfo/Africa/Kinshasa
/usr/share/zoneinfo/Africa/Lagos
/usr/share/zoneinfo/Africa/Libreville
/usr/share/zoneinfo/Africa/Lome
/usr/share/zoneinfo/Africa/Luanda
/usr/share/zoneinfo/Africa/Lubumbashi
/usr/share/zoneinfo/Africa/Lusaka
/usr/share/zoneinfo/Africa/Malabo
/usr/share/zoneinfo/Africa/Maputo
/usr/share/zoneinfo/Africa/Maseru
/usr/share/zoneinfo/Africa/Mbabane
/usr/share/zoneinfo/Africa/Mogadishu
/usr/share/zoneinfo/Africa/Monrovia
/usr/share/zoneinfo/Africa/Nairobi
/usr/share/zoneinfo/Africa/Ndjamena
/usr/share/zoneinfo/Africa/Niamey
/usr/share/zoneinfo/Africa/Nouakchott
/usr/share/zoneinfo/Africa/Ouagadougou
/usr/share/zoneinfo/Africa/Porto-Novo
/usr/share/zoneinfo/Africa/Sao_Tome
/usr/share/zoneinfo/Africa/Timbuktu
/usr/share/zoneinfo/Africa/Tripoli
/usr/share/zoneinfo/Africa/Tunis
/usr/share/zoneinfo/Africa/Windhoek
/usr/share/zoneinfo/America
/usr/share/zoneinfo/America/Adak
/usr/share/zoneinfo/America/Anchorage
/usr/share/zoneinfo/America/Anguilla
/usr/share/zoneinfo/America/Antigua
/usr/share/zoneinfo/America/Araguaina
/usr/share/zoneinfo/America/Argentina
/usr/share/zoneinfo/America/Argentina/Buenos_Aires
/usr/share/zoneinfo/America/Argentina/Catamarca
/usr/share/zoneinfo/America/Argentina/ComodRivadavia
/usr/share/zoneinfo/America/Argentina/Cordoba
/usr/share/zoneinfo/America/Argentina/Jujuy
/usr/share/zoneinfo/America/Argentina/La_Rioja
/usr/share/zoneinfo/America/Argentina/Mendoza
/usr/share/zoneinfo/America/Argentina/Rio_Gallegos
/usr/share/zoneinfo/America/Argentina/Salta
/usr/share/zoneinfo/America/Argentina/San_Juan
/usr/share/zoneinfo/America/Argentina/San_Luis
/usr/share/zoneinfo/America/Argentina/Tucuman
/usr/share/zoneinfo/America/Argentina/Ushuaia
/usr/share/zoneinfo/America/Aruba
/usr/share/zoneinfo/America/Asuncion
/usr/share/zoneinfo/America/Atikokan
/usr/share/zoneinfo/America/Atka
/usr/share/zoneinfo/America/Bahia
/usr/share/zoneinfo/America/Bahia_Banderas
/usr/share/zoneinfo/America/Barbados
/usr/share/zoneinfo/America/Belem
/usr/share/zoneinfo/America/Belize
/usr/share/zoneinfo/America/Blanc-Sablon
/usr/share/zoneinfo/America/Boa_Vista
/usr/share/zoneinfo/America/Bogota
/usr/share/zoneinfo/America/Boise
/usr/share/zoneinfo/America/Buenos_Aires
/usr/share/zoneinfo/America/Cambridge_Bay
/usr/share/zoneinfo/America/Campo_Grande
/usr/share/zoneinfo/America/Cancun
/usr/share/zoneinfo/America/Caracas
/usr/share/zoneinfo/America/Catamarca
/usr/share/zoneinfo/America/Cayenne
/usr/share/zoneinfo/America/Cayman
/usr/share/zoneinfo/America/Chicago
/usr/share/zoneinfo/America/Chihuahua
/usr/share/zoneinfo/America/Ciudad_Juarez
/usr/share/zoneinfo/America/Coral_Harbour
/usr/share/zoneinfo/America/Cordoba
/usr/share/zoneinfo/America/Costa_Rica
/usr/share/zoneinfo/America/Creston
/usr/share/zoneinfo/America/Cuiaba
/usr/share/zoneinfo/America/Curacao
/usr/share/zoneinfo/America/Danmarkshavn
/usr/share/zoneinfo/America/Dawson
/usr/share/zoneinfo/America/Dawson_Creek
/usr/share/zoneinfo/America/Denver
/usr/share/zoneinfo/America/Detroit
/usr/share/zoneinfo/America/Dominica
/usr/share/zoneinfo/America/Edmonton
/usr/share/zoneinfo/America/Eirunepe
/usr/share/zoneinfo/America/El_Salvador
/usr/share/zoneinfo/America/Ensenada
/usr/share/zoneinfo/America/Fort_Nelson
/usr/share/zoneinfo/America/Fort_Wayne
/usr/share/zoneinfo/America/Fortaleza
/usr/share/zoneinfo/America/Glace_Bay
/usr/share/zoneinfo/America/Godthab
/usr/share/zoneinfo/America/Goose_Bay
/usr/share/zoneinfo/America/Grand_Turk
/usr/share/zoneinfo/America/Grenada
/usr/share/zoneinfo/America/Guadeloupe
/usr/share/zoneinfo/America/Guatemala
/usr/share/zoneinfo/America/Guayaquil
/usr/share/zoneinfo/America/Guyana
/usr/share/zoneinfo/America/Halifax
/usr/share/zoneinfo/America/Havana
/usr/share/zoneinfo/America/Hermosillo
/usr/share/zoneinfo/America/Indiana
/usr/share/zoneinfo/America/Indiana/Indianapolis
/usr/share/zoneinfo/America/Indiana/Knox
/usr/share/zoneinfo/America/Indiana/Marengo
/usr/share/zoneinfo/America/Indiana/Petersburg
/usr/share/zoneinfo/America/Indiana/Tell_City
/usr/share/zoneinfo/America/Indiana/Vevay
/usr/share/zoneinfo/America/Indiana/Vincennes
/usr/share/zoneinfo/America/Indiana/Winamac
/usr/share/zoneinfo/America/Indianapolis
/usr/share/zoneinfo/America/Inuvik
/usr/share/zoneinfo/America/Iqaluit
/usr/share/zoneinfo/America/Jamaica
/usr/share/zoneinfo/America/Jujuy
/usr/share/zoneinfo/America/Juneau
/usr/share/zoneinfo/America/Kentucky
/usr/share/zoneinfo/America/Kentucky/Louisville
/usr/share/zoneinfo/America/Kentucky/Monticello
/usr/share/zoneinfo/America/Knox_IN
/usr/share/zoneinfo/America/Kralendijk
/usr/share/zoneinfo/America/La_Paz
/usr/share/zoneinfo/America/Lima
/usr/share/zoneinfo/America/Los_Angeles
/usr/share/zoneinfo/America/Louisville
/usr/share/zoneinfo/America/Lower_Princes
/usr/share/zoneinfo/America/Maceio
/usr/share/zoneinfo/America/Managua
/usr/share/zoneinfo/America/Manaus
/usr/share/zoneinfo/America/Marigot
/usr/share/zoneinfo/America/Martinique
/usr/share/zoneinfo/America/Matamoros
/usr/share/zoneinfo/America/Mazatlan
/usr/share/zoneinfo/America/Mendoza
/usr/share/zoneinfo/America/Menominee
/usr/share/zoneinfo/America/Merida
/usr/share/zoneinfo/America/Metlakatla
/usr/share/zoneinfo/America/Mexico_City
/usr/share/zoneinfo/America/Miquelon
/usr/share/zoneinfo/America/Moncton
/usr/share/zoneinfo/America/Monterrey
/usr/share/zoneinfo/America/Montevideo
/usr/share/zoneinfo/America/Montreal
/usr/share/zoneinfo/America/Montserrat
/usr/share/zoneinfo/America/Nassau
/usr/share/zoneinfo/America/New_York
/usr/share/zoneinfo/America/Nipigon
/usr/share/zoneinfo/America/Nome
/usr/share/zoneinfo/America/Noronha
/usr/share/zoneinfo/America/North_Dakota
/usr/share/zoneinfo/America/North_Dakota/Beulah
/usr/share/zoneinfo/America/North_Dakota/Center
/usr/share/zoneinfo/America/North_Dakota/New_Salem
/usr/share/zoneinfo/America/Nuuk
/usr/share/zoneinfo/America/Ojinaga
/usr/share/zoneinfo/America/Panama
/usr/share/zoneinfo/America/Pangnirtung
/usr/share/zoneinfo/America/Paramaribo
/usr/share/zoneinfo/America/Phoenix
/usr/share/zoneinfo/America/Port-au-Prince
/usr/share/zoneinfo/America/Port_of_Spain
/usr/share/zoneinfo/America/Porto_Acre
/usr/share/zoneinfo/America/Porto_Velho
/usr/share/zoneinfo/America/Puerto_Rico
/usr/share/zoneinfo/America/Punta_Arenas
/usr/share/zoneinfo/America/Rainy_River
/usr/share/zoneinfo/America/Rankin_Inlet
/usr/share/zoneinfo/America/Recife
/usr/share/zoneinfo/America/Regina
/usr/share/zoneinfo/America/Resolute
/usr/share/zoneinfo/America/Rio_Branco
/usr/share/zoneinfo/America/Rosario
/usr/share/zoneinfo/America/Santa_Isabel
/usr/share/zoneinfo/America/Santarem
/usr/share/zoneinfo/America/Santiago
/usr/share/zoneinfo/America/Santo_Domingo
/usr/share/zoneinfo/America/Sao_Paulo
/usr/share/zoneinfo/America/Scoresbysund
/usr/share/zoneinfo/America/Shiprock
/usr/share/zoneinfo/America/Sitka
/usr/share/zoneinfo/America/St_Barthelemy
/usr/share/zoneinfo/America/St_Johns
/usr/share/zoneinfo/America/St_Kitts
/usr/share/zoneinfo/America/St_Lucia
/usr/share/zoneinfo/America/St_Thomas
/usr/share/zoneinfo/America/St_Vincent
/usr/share/zoneinfo/America/Swift_Current
/usr/share/zoneinfo/America/Tegucigalpa
/usr/share/zoneinfo/America/Thule
/usr/share/zoneinfo/America/Thunder_Bay
/usr/share/zoneinfo/America/Tijuana
/usr/share/zoneinfo/America/Toronto
/usr/share/zoneinfo/America/Tortola
/usr/share/zoneinfo/America/Vancouver
/usr/share/zoneinfo/America/Virgin
/usr/share/zoneinfo/America/Whitehorse
/usr/share/zoneinfo/America/Winnipeg
/usr/share/zoneinfo/America/Yakutat
/usr/share/zoneinfo/America/Yellowknife
/usr/share/zoneinfo/Antarctica
/usr/share/zoneinfo/Antarctica/Casey
/usr/share/zoneinfo/Antarctica/Davis
/usr/share/zoneinfo/Antarctica/DumontDUrville
/usr/share/zoneinfo/Antarctica/Macquarie
/usr/share/zoneinfo/Antarctica/Mawson
/usr/share/zoneinfo/Antarctica/McMurdo
/usr/share/zoneinfo/Antarctica/Palmer
/usr/share/zoneinfo/Antarctica/Rothera
/usr/share/zoneinfo/Antarctica/South_Pole
/usr/share/zoneinfo/Antarctica/Syowa
/usr/share/zoneinfo/Antarctica/Troll
/usr/share/zoneinfo/Antarctica/Vostok
/usr/share/zoneinfo/Arctic
/usr/share/zoneinfo/Arctic/Longyearbyen
/usr/share/zoneinfo/Asia
/usr/share/zoneinfo/Asia/Aden
/usr/share/zoneinfo/Asia/Almaty
/usr/share/zoneinfo/Asia/Amman
/usr/share/zoneinfo/Asia/Anadyr
/usr/share/zoneinfo/Asia/Aqtau
/usr/share/zoneinfo/Asia/Aqtobe
/usr/share/zoneinfo/Asia/Ashgabat
/usr/share/zoneinfo/Asia/Ashkhabad
/usr/share/zoneinfo/Asia/Atyrau
/usr/share/zoneinfo/Asia/Baghdad
/usr/share/zoneinfo/Asia/Bahrain
/usr/share/zoneinfo/Asia/Baku
/usr/share/zoneinfo/Asia/Bangkok
/usr/share/zoneinfo/Asia/Barnaul
/usr/share/zoneinfo/Asia/Beirut
/usr/share/zoneinfo/Asia/Bishkek
/usr/share/zoneinfo/Asia/Brunei
/usr/share/zoneinfo/Asia/Calcutta
/usr/share/zoneinfo/Asia/Chita
/usr/share/zoneinfo/Asia/Choibalsan
/usr/share/zoneinfo/Asia/Chongqing
/usr/share/zoneinfo/Asia/Chungking
/usr/share/zoneinfo/Asia/Colombo
/usr/share/zoneinfo/Asia/Dacca
/usr/share/zoneinfo/Asia/Damascus
/usr/share/zoneinfo/Asia/Dhaka
/usr/share/zoneinfo/Asia/Dili
/usr/share/zoneinfo/Asia/Dubai
/usr/share/zoneinfo/Asia/Dushanbe
/usr/share/zoneinfo/Asia/Famagusta
/usr/share/zoneinfo/Asia/Gaza
/usr/share/zoneinfo/Asia/Harbin
/usr/share/zoneinfo/Asia/Hebron
/usr/share/zoneinfo/Asia/Ho_Chi_Minh
/usr/share/zoneinfo/Asia/Hong_Kong
/usr/share/zoneinfo/Asia/Hovd
/usr/share/zoneinfo/Asia/Irkutsk
/usr/share/zoneinfo/Asia/Istanbul
/usr/share/zoneinfo/Asia/Jakarta
/usr/share/zoneinfo/Asia/Jayapura
/usr/share/zoneinfo/Asia/Jerusalem
/usr/share/zoneinfo/Asia/Kabul
/usr/share/zoneinfo/Asia/Kamchatka
/usr/share/zoneinfo/Asia/Karachi
/usr/share/zoneinfo/Asia/Kashgar
/usr/share/zoneinfo/Asia/Kathmandu
/usr/share/zoneinfo/Asia/Katmandu
/usr/share/zoneinfo/Asia/Khandyga
/usr/share/zoneinfo/Asia/Kolkata
/usr/share/zoneinfo/Asia/Krasnoyarsk
/usr/share/zoneinfo/Asia/Kuala_Lumpur
/usr/share/zoneinfo/Asia/Kuching
/usr/share/zoneinfo/Asia/Kuwait
/usr/share/zoneinfo/Asia/Macao
/usr/share/zoneinfo/Asia/Macau
/usr/share/zoneinfo/Asia/Magadan
/usr/share/zoneinfo/Asia/Makassar
/usr/share/zoneinfo/Asia/Manila
/usr/share/zoneinfo/Asia/Muscat
/usr/share/zoneinfo/Asia/Nicosia
/usr/share/zoneinfo/Asia/Novokuznetsk
/usr/share/zoneinfo/Asia/Novosibirsk
/usr/share/zoneinfo/Asia/Omsk
/usr/share/zoneinfo/Asia/Oral
/usr/share/zoneinfo/Asia/Phnom_Penh
/usr/share/zoneinfo/Asia/Pontianak
/usr/share/zoneinfo/Asia/Pyongyang
/usr/share/zoneinfo/Asia/Qatar
/usr/share/zoneinfo/Asia/Qostanay
/usr/share/zoneinfo/Asia/Qyzylorda
/usr/share/zoneinfo/Asia/Rangoon
/usr/share/zoneinfo/Asia/Riyadh
/usr/share/zoneinfo/Asia/Saigon
/usr/share/zoneinfo/Asia/Sakhalin
/usr/share/zoneinfo/Asia/Samarkand
/usr/share/zoneinfo/Asia/Seoul
/usr/share/zoneinfo/Asia/Shanghai
/usr/share/zoneinfo/Asia/Singapore
/usr/share/zoneinfo/Asia/Srednekolymsk
/usr/share/zoneinfo/Asia/Taipei
/usr/share/zoneinfo/Asia/Tashkent
/usr/share/zoneinfo/Asia/Tbilisi
/usr/share/zoneinfo/Asia/Tehran
/usr/share/zoneinfo/Asia/Tel_Aviv
/usr/share/zoneinfo/Asia/Thimbu
/usr/share/zoneinfo/Asia/Thimphu
/usr/share/zoneinfo/Asia/Tokyo
/usr/share/zoneinfo/Asia/Tomsk
/usr/share/zoneinfo/Asia/Ujung_Pandang
/usr/share/zoneinfo/Asia/Ulaanbaatar
/usr/share/zoneinfo/Asia/Ulan_Bator
/usr/share/zoneinfo/Asia/Urumqi
/usr/share/zoneinfo/Asia/Ust-Nera
/usr/share/zoneinfo/Asia/Vientiane
/usr/share/zoneinfo/Asia/Vladivostok
/usr/share/zoneinfo/Asia/Yakutsk
/usr/share/zoneinfo/Asia/Yangon
/usr/share/zoneinfo/Asia/Yekaterinburg
/usr/share/zoneinfo/Asia/Yerevan
/usr/share/zoneinfo/Atlantic
/usr/share/zoneinfo/Atlantic/Azores
/usr/share/zoneinfo/Atlantic/Bermuda
/usr/share/zoneinfo/Atlantic/Canary
/usr/share/zoneinfo/Atlantic/Cape_Verde
/usr/share/zoneinfo/Atlantic/Faeroe
/usr/share/zoneinfo/Atlantic/Faroe
/usr/share/zoneinfo/Atlantic/Jan_Mayen
/usr/share/zoneinfo/Atlantic/Madeira
/usr/share/zoneinfo/Atlantic/Reykjavik
/usr/share/zoneinfo/Atlantic/South_Georgia
/usr/share/zoneinfo/Atlantic/St_Helena
/usr/share/zoneinfo/Atlantic/Stanley
/usr/share/zoneinfo/Australia
/usr/share/zoneinfo/Australia/ACT
/usr/share/zoneinfo/Australia/Adelaide
/usr/share/zoneinfo/Australia/Brisbane
/usr/share/zoneinfo/Australia/Broken_Hill
/usr/share/zoneinfo/Australia/Canberra
/usr/share/zoneinfo/Australia/Currie
/usr/share/zoneinfo/Australia/Darwin
/usr/share/zoneinfo/Australia/Eucla
/usr/share/zoneinfo/Australia/Hobart
/usr/share/zoneinfo/Australia/LHI
/usr/share/zoneinfo/Australia/Lindeman
/usr/share/zoneinfo/Australia/Lord_Howe
/usr/share/zoneinfo/Australia/Melbourne
/usr/share/zoneinfo/Australia/NSW
/usr/share/zoneinfo/Australia/North
/usr/share/zoneinfo/Australia/Perth
/usr/share/zoneinfo/Australia/Queensland
/usr/share/zoneinfo/Australia/South
/usr/share/zoneinfo/Australia/Sydney
/usr/share/zoneinfo/Australia/Tasmania
/usr/share/zoneinfo/Australia/Victoria
/usr/share/zoneinfo/Australia/West
/usr/share/zoneinfo/Australia/Yancowinna
/usr/share/zoneinfo/Brazil
/usr/share/zoneinfo/Brazil/Acre
/usr/share/zoneinfo/Brazil/DeNoronha
/usr/share/zoneinfo/Brazil/East
/usr/share/zoneinfo/Brazil/West
/usr/share/zoneinfo/CET
/usr/share/zoneinfo/CST6CDT
/usr/share/zoneinfo/Canada
/usr/share/zoneinfo/Canada/Atlantic
/usr/share/zoneinfo/Canada/Central
/usr/share/zoneinfo/Canada/Eastern
/usr/share/zoneinfo/Canada/Mountain
/usr/share/zoneinfo/Canada/Newfoundland
/usr/share/zoneinfo/Canada/Pacific
/usr/share/zoneinfo/Canada/Saskatchewan
/usr/share/zoneinfo/Canada/Yukon
/usr/share/zoneinfo/Chile
/usr/share/zoneinfo/Chile/Continental
/usr/share/zoneinfo/Chile/EasterIsland
/usr/share/zoneinfo/Cuba
/usr/share/zoneinfo/EET
/usr/share/zoneinfo/EST
/usr/share/zoneinfo/EST5EDT
/usr/share/zoneinfo/Egypt
/usr/share/zoneinfo/Eire
/usr/share/zoneinfo/Etc
/usr/share/zoneinfo/Etc/GMT
/usr/share/zoneinfo/Etc/GMT+0
/usr/share/zoneinfo/Etc/GMT+1
/usr/share/zoneinfo/Etc/GMT+10
/usr/share/zoneinfo/Etc/GMT+11
/usr/share/zoneinfo/Etc/GMT+12
/usr/share/zoneinfo/Etc/GMT+2
/usr/share/zoneinfo/Etc/GMT+3
/usr/share/zoneinfo/Etc/GMT+4
/usr/share/zoneinfo/Etc/GMT+5
/usr/share/zoneinfo/Etc/GMT+6
/usr/share/zoneinfo/Etc/GMT+7
/usr/share/zoneinfo/Etc/GMT+8
/usr/share/zoneinfo/Etc/GMT+9
/usr/share/zoneinfo/Etc/GMT-0
/usr/share/zoneinfo/Etc/GMT-1
/usr/share/zoneinfo/Etc/GMT-10
/usr/share/zoneinfo/Etc/GMT-11
/usr/share/zoneinfo/Etc/GMT-12
/usr/share/zoneinfo/Etc/GMT-13
/usr/share/zoneinfo/Etc/GMT-14
/usr/share/zoneinfo/Etc/GMT-2
/usr/share/zoneinfo/Etc/GMT-3
/usr/share/zoneinfo/Etc/GMT-4
/usr/share/zoneinfo/Etc/GMT-5
/usr/share/zoneinfo/Etc/GMT-6
/usr/share/zoneinfo/Etc/GMT-7
/usr/share/zoneinfo/Etc/GMT-8
/usr/share/zoneinfo/Etc/GMT-9
/usr/share/zoneinfo/Etc/GMT0
/usr/share/zoneinfo/Etc/Greenwich
/usr/share/zoneinfo/Etc/UCT
/usr/share/zoneinfo/Etc/UTC
/usr/share/zoneinfo/Etc/Universal
/usr/share/zoneinfo/Etc/Zulu
/usr/share/zoneinfo/Europe
/usr/share/zoneinfo/Europe/Amsterdam
/usr/share/zoneinfo/Europe/Andorra
/usr/share/zoneinfo/Europe/Astrakhan
/usr/share/zoneinfo/Europe/Athens
/usr/share/zoneinfo/Europe/Belfast
/usr/share/zoneinfo/Europe/Belgrade
/usr/share/zoneinfo/Europe/Berlin
/usr/share/zoneinfo/Europe/Bratislava
/usr/share/zoneinfo/Europe/Brussels
/usr/share/zoneinfo/Europe/Bucharest
/usr/share/zoneinfo/Europe/Budapest
/usr/share/zoneinfo/Europe/Busingen
/usr/share/zoneinfo/Europe/Chisinau
/usr/share/zoneinfo/Europe/Copenhagen
/usr/share/zoneinfo/Europe/Dublin
/usr/share/zoneinfo/Europe/Gibraltar
/usr/share/zoneinfo/Europe/Guernsey
/usr/share/zoneinfo/Europe/Helsinki
/usr/share/zoneinfo/Europe/Isle_of_Man
/usr/share/zoneinfo/Europe/Istanbul
/usr/share/zoneinfo/Europe/Jersey
/usr/share/zoneinfo/Europe/Kaliningrad
/usr/share/zoneinfo/Europe/Kiev
/usr/share/zoneinfo/Europe/Kirov
/usr/share/zoneinfo/Europe/Kyiv
/usr/share/zoneinfo/Europe/Lisbon
/usr/share/zoneinfo/Europe/Ljubljana
/usr/share/zoneinfo/Europe/London
/usr/share/zoneinfo/Europe/Luxembourg
/usr/share/zoneinfo/Europe/Madrid
/usr/share/zoneinfo/Europe/Malta
/usr/share/zoneinfo/Europe/Mariehamn
/usr/share/zoneinfo/Europe/Minsk
/usr/share/zoneinfo/Europe/Monaco
/usr/share/zoneinfo/Europe/Moscow
/usr/share/zoneinfo/Europe/Nicosia
/usr/share/zoneinfo/Europe/Oslo
/usr/share/zoneinfo/Europe/Paris
/usr/share/zoneinfo/Europe/Podgorica
/usr/share/zoneinfo/Europe/Prague
/usr/share/zoneinfo/Europe/Riga
/usr/share/zoneinfo/Europe/Rome
/usr/share/zoneinfo/Europe/Samara
/usr/share/zoneinfo/Europe/San_Marino
/usr/share/zoneinfo/Europe/Sarajevo
/usr/share/zoneinfo/Europe/Saratov
/usr/share/zoneinfo/Europe/Simferopol
/usr/share/zoneinfo/Europe/Skopje
/usr/share/zoneinfo/Europe/Sofia
/usr/share/zoneinfo/Europe/Stockholm
/usr/share/zoneinfo/Europe/Tallinn
/usr/share/zoneinfo/Europe/Tirane
/usr/share/zoneinfo/Europe/Tiraspol
/usr/share/zoneinfo/Europe/Ulyanovsk
/usr/share/zoneinfo/Europe/Uzhgorod
/usr/share/zoneinfo/Europe/Vaduz
/usr/share/zoneinfo/Europe/Vatican
/usr/share/zoneinfo/Europe/Vienna
/usr/share/zoneinfo/Europe/Vilnius
/usr/share/zoneinfo/Europe/Volgograd
/usr/share/zoneinfo/Europe/Warsaw
/usr/share/zoneinfo/Europe/Zagreb
/usr/share/zoneinfo/Europe/Zaporozhye
/usr/share/zoneinfo/Europe/Zurich
/usr/share/zoneinfo/Factory
/usr/share/zoneinfo/GB
/usr/share/zoneinfo/GB-Eire
/usr/share/zoneinfo/GMT
/usr/share/zoneinfo/GMT+0
/usr/share/zoneinfo/GMT-0
/usr/share/zoneinfo/GMT0
/usr/share/zoneinfo/Greenwich
/usr/share/zoneinfo/HST
/usr/share/zoneinfo/Hongkong
/usr/share/zoneinfo/Iceland
/usr/share/zoneinfo/Indian
/usr/share/zoneinfo/Indian/Antananarivo
/usr/share/zoneinfo/Indian/Chagos
/usr/share/zoneinfo/Indian/Christmas
/usr/share/zoneinfo/Indian/Cocos
/usr/share/zoneinfo/Indian/Comoro
/usr/share/zoneinfo/Indian/Kerguelen
/usr/share/zoneinfo/Indian/Mahe
/usr/share/zoneinfo/Indian/Maldives
/usr/share/zoneinfo/Indian/Mauritius
/usr/share/zoneinfo/Indian/Mayotte
/usr/share/zoneinfo/Indian/Reunion
/usr/share/zoneinfo/Iran
/usr/share/zoneinfo/Israel
/usr/share/zoneinfo/Jamaica
/usr/share/zoneinfo/Japan
/usr/share/zoneinfo/Kwajalein
/usr/share/zoneinfo/Libya
/usr/share/zoneinfo/MET
/usr/share/zoneinfo/MST
/usr/share/zoneinfo/MST7MDT
/usr/share/zoneinfo/Mexico
/usr/share/zoneinfo/Mexico/BajaNorte
/usr/share/zoneinfo/Mexico/BajaSur
/usr/share/zoneinfo/Mexico/General
/usr/share/zoneinfo/NZ
/usr/share/zoneinfo/NZ-CHAT
/usr/share/zoneinfo/Navajo
/usr/share/zoneinfo/PRC
/usr/share/zoneinfo/PST8PDT
/usr/share/zoneinfo/Pacific
/usr/share/zoneinfo/Pacific/Apia
/usr/share/zoneinfo/Pacific/Auckland
/usr/share/zoneinfo/Pacific/Bougainville
/usr/share/zoneinfo/Pacific/Chatham
/usr/share/zoneinfo/Pacific/Chuuk
/usr/share/zoneinfo/Pacific/Easter
/usr/share/zoneinfo/Pacific/Efate
/usr/share/zoneinfo/Pacific/Enderbury
/usr/share/zoneinfo/Pacific/Fakaofo
/usr/share/zoneinfo/Pacific/Fiji
/usr/share/zoneinfo/Pacific/Funafuti
/usr/share/zoneinfo/Pacific/Galapagos
/usr/share/zoneinfo/Pacific/Gambier
/usr/share/zoneinfo/Pacific/Guadalcanal
/usr/share/zoneinfo/Pacific/Guam
/usr/share/zoneinfo/Pacific/Honolulu
/usr/share/zoneinfo/Pacific/Johnston
/usr/share/zoneinfo/Pacific/Kanton
/usr/share/zoneinfo/Pacific/Kiritimati
/usr/share/zoneinfo/Pacific/Kosrae
/usr/share/zoneinfo/Pacific/Kwajalein
/usr/share/zoneinfo/Pacific/Majuro
/usr/share/zoneinfo/Pacific/Marquesas
/usr/share/zoneinfo/Pacific/Midway
/usr/share/zoneinfo/Pacific/Nauru
/usr/share/zoneinfo/Pacific/Niue
/usr/share/zoneinfo/Pacific/Norfolk
/usr/share/zoneinfo/Pacific/Noumea
/usr/share/zoneinfo/Pacific/Pago_Pago
/usr/share/zoneinfo/Pacific/Palau
/usr/share/zoneinfo/Pacific/Pitcairn
/usr/share/zoneinfo/Pacific/Pohnpei
/usr/share/zoneinfo/Pacific/Ponape
/usr/share/zoneinfo/Pacific/Port_Moresby
/usr/share/zoneinfo/Pacific/Rarotonga
/usr/share/zoneinfo/Pacific/Saipan
/usr/share/zoneinfo/Pacific/Samoa
/usr/share/zoneinfo/Pacific/Tahiti
/usr/share/zoneinfo/Pacific/Tarawa
/usr/share/zoneinfo/Pacific/Tongatapu
/usr/share/zoneinfo/Pacific/Truk
/usr/share/zoneinfo/Pacific/Wake
/usr/share/zoneinfo/Pacific/Wallis
/usr/share/zoneinfo/Pacific/Yap
/usr/share/zoneinfo/Poland
/usr/share/zoneinfo/Portugal
/usr/share/zoneinfo/ROC
/usr/share/zoneinfo/ROK
/usr/share/zoneinfo/Singapore
/usr/share/zoneinfo/Turkey
/usr/share/zoneinfo/UCT
/usr/share/zoneinfo/US
/usr/share/zoneinfo/US/Alaska
/usr/share/zoneinfo/US/Aleutian
/usr/share/zoneinfo/US/Arizona
/usr/share/zoneinfo/US/Central
/usr/share/zoneinfo/US/East-Indiana
/usr/share/zoneinfo/US/Eastern
/usr/share/zoneinfo/US/Hawaii
/usr/share/zoneinfo/US/Indiana-Starke
/usr/share/zoneinfo/US/Michigan
/usr/share/zoneinfo/US/Mountain
/usr/share/zoneinfo/US/Pacific
/usr/share/zoneinfo/US/Samoa
/usr/share/zoneinfo/UTC
/usr/share/zoneinfo/Universal
/usr/share/zoneinfo/W-SU
/usr/share/zoneinfo/WET
/usr/share/zoneinfo/Zulu
/usr/share/zoneinfo/iso3166.tab
/usr/share/zoneinfo/leapseconds
/usr/share/zoneinfo/posixrules
/usr/share/zoneinfo/tzdata.zi
/usr/share/zoneinfo/zone.tab

sudo systemsetup -gettimezone:

Time Zone: Europe/Madrid
doublep commented 8 months ago

This doesn't look like output of ls, looks more like a cat. On my machine it is like this:

$ ls -l /etc/localtime 
lrwxrwxrwx 1 root root 33 Mai 15  2022 /etc/localtime -> /usr/share/zoneinfo/Europe/Vienna

Is it something similar in your case?

vemv commented 8 months ago

Sorry about that!

ls -l /etc/localtime
lrwxr-xr-x  1 root  wheel  39 Oct  3  2021 /etc/localtime -> /var/db/timezone/zoneinfo/Europe/Madrid
doublep commented 8 months ago

Hm, that's an unexpected link target... Does (file-symlink-p "/etc/localtime") also return "/var/db..."?

vemv commented 8 months ago
ielm> (file-symlink-p "/etc/localtime")
"/var/db/timezone/zoneinfo/Europe/Madrid"
doublep commented 8 months ago

Please test if the last commit fixes it on macOS.

vemv commented 8 months ago

Thanks much! Will try as a snapshot gets published

doublep commented 8 months ago

You can check out the Git repository...

vemv commented 8 months ago

Thanks - the error does not pop up anymore.

However, for some reason our integration still doesn't succesfully enable logview-mode. Yesterday it worked - no changes in my setup.

If I M-x logview-mode, things get colored, however new logs won't be attached.

If something comes to mind that would be most welcome.

Otherwise it's no problem - I could file a new issue as I find the time / clear repro.

doublep commented 8 months ago

new logs won't be attached

Not sure I understand. After e.g. g key? (See last section in ? help screen.) Or do you mean buffer auto-revert mode? I'm not sure how you toggle it, but in Logview it is bound to o r.

vemv commented 8 months ago

Our integration is programmatic - buffers come from a networked stream.

Anyway, I'll re-create the issue when I have the chance