How to copy entire build/deploy log?

2 years ago

I still havent figured out how I can copy the entire log. If I select it all and ctrl+c it only gets what visible in the overflow scroll container.

I have, once too many times, copy pasted it in parts...... but today I have a log that are longer than my patience for copy pasting it it bits

Closed

22 Replies

2 years ago

There isn't really a way to copy the full logs, but there is a way to copy most of them:

  • In-App: from your logs, enter ctrl+k (or cmd+k) to open command pallete, then click on Copy Logs
  • Bookmarklet: from your logs, use this bookmarklet

the In-App method copies the last 5,000 lines, if i remember correctly, although there are some issues with it

and the bookmarklet method copies the last 1,000 lines, if I remember correctly

-# Note, I haven't checked in a long time so the amount of lines it copies might've changed since


2 years ago

N/A


2 years ago

Hi, Thanks for your suggestions 🙂

When I use ctrl+k , I see no "copy logs" menu item (i scrolled all the way to the bottom). I had the logs I want to inspect open on screen while opening the menu.

When I try the bookmarklet approach, When i click it from the open logs view, nothing happens, and I see a error in the console, "unexpected token"


2 years ago

That is strange 🤔


2 years ago

here's what you should be seeing

1304456195104309300


2 years ago

I dont have most of those option 🧐 1 sec


2 years ago

1304456514735439913


2 years ago

hmm, i wonder if it only works on active deployments, and so it's not appearing for a failed deployment.. that would make the tool somewhat pointless though 🤔


2 years ago

hmm, yea. that'd be a shame. Or maybe some user level condition?


2 years ago

I feel like I once were able to access the logs in a separarte browser tab, somehow.


2 years ago

maybe, I'm not entirely sure.. at the moment we still recommend users who try to export their logs use the bookmarklet method since the in-app method still has some bugs to sort out anyway


2 years ago

silly question, have you tried typing logs in the command pallet?


2 years ago

1304458553221845022


2 years ago

interesting


2 years ago

can you link to the failed deployment


2 years ago

project Id: 036562ce-ec5b-4d2c-abcd-305f361198fc

will that do?



2 years ago

that will do I think


2 years ago

pproject was deleted



2 years ago

Once it is passed the build step, the download logs options become available in the menu, FYI.

I'm deleting this project for now ✌️


2 years ago

sounds good!


Welcome!

Sign in to your Railway account to join the conversation.

Loading...