Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Dónde quedan tus console.log en AWS Lambda (CloudWatch Logs)

Si tu función de AWS Lambda corre pero no sabes dónde están sus logs, están en Amazon CloudWatch Logs. En este artículo creas una Lambda con Node.js, provocas un error y encuentras su mensaje, stack trace y request ID en CloudWatch Logs. Cuando corres una aplicación en tu computadora, agregar un console.log y revisar la terminal suele ser suficiente para entender qué pasó. Cuando el código corre…

Cuando una función de AWS Lambda se ejecuta, sus logs no se almacenan localmente en tu computadora. En su lugar, se envían automáticamente a Amazon CloudWatch Logs, un servicio de AWS que almacena y organiza estos registros. Para encontrar los logs de tu Lambda, primero debes entender cómo funcionan los logs en este entorno. Al igual que en un programa local, puedes usar console.log para dejar mensajes de registro.

Sin embargo, en una Lambda, estos mensajes no salen a tu terminal, sino que son entregados a CloudWatch Logs. Esto incluye tanto mensajes normales como errores, enviados respectivamente a través de console.log y console.error. Los logs en CloudWatch contienen información adicional como el timestamp, el nivel del log y el request ID de la invocación.

Para visualizar estos logs, asegúrate de tener una cuenta de AWS con acceso a la consola. Una vez dentro, crea una Lambda y prueba tus logs. Un log group es un contenedor para los logs de tu función, mientras que un log stream dentro de este grupo contiene los mensajes de un determinado ejecución. Cada log event es un registro específico con un mensaje y un timestamp.

Puedes acceder a estos logs desde la interfaz de CloudWatch consultando el log group de tu función, generalmente bajo la ruta /aws/lambda/nombre-de-tu-función.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

How to build a meeting bot in 2026 — the three ways, with working code

First published on meetful.com . Every "meeting bot" you have ever seen in a Zoom, Google Meet or Teams call — Otter, Fireflies, Read, Fathom, the one your sales team runs — is the same object…

  • Three methods to build a meeting bot in 2026: browser-driven, bot API, and platform-specific API.
  • Platform-specific API method, like Meetful, is the most straightforward with only 30 lines of code.

Nesne Tespitinde Model Değerlendirme ve Görsel Denetim: mAP@50 vs. mAP@50-95, Güven Eşiği Kalibrasyonu ve GT vs. Pred Hata Teşhisi

Bir nesne tespiti (object detection) modelinin eğitimi bittiğinde ilk bakılan sayı neredeyse her zaman mAP@50 olur. Ancak gerçek üretim sistemlerinde en pahalı sürprizler tam olarak burada başlar…

  • mAP@50 metric misleading across diverse domains
  • Significant gap between mAP@50 and mAP@50-95 in cases
  • Custom confidence threshold calibration for production needs

Why a standard video doesn’t always fit a custom LED display

A video can play successfully and still look wrong on the display it was created for. The problem often starts with the canvas.

  • Standard videos and LED displays have different aspect ratios.
  • Resizing video to fit display requires significant cropping or adding content.
  • Testing with simple images reveals potential layout issues early.

WARN Act and Your Car Lease: What Happens to Your Leased Car After a Layoff Notice

WARN Act and Your Car Lease: What Happens to Your Leased Car After a Layoff Notice A WARN notice tells you your job is ending. It does not end your car lease.

  • WARN Act informs employees of layoffs but does not terminate car leases.
  • Leased vehicle continues its schedule regardless of employee's employment status.
  • Termination costs include remaining payments, early termination fee, and disposition fee.

Before your agent sends USDT, check whether Tether froze the address

Disclosure: this post is from the Veriql team. Veriql is the API in the examples; the by-hand check works without it. Agents now move real money: they pay invoices, run payouts and settle with…

  • Verify Tether's blacklist before sending USDT
  • Frozen USDT address prevents transfer
  • Use Veriql tools to check for USDT freezes

More from Thursday 26 November →