Skip to content

Commit 614bc0c

Browse files
Sending IDE errors to CloudWatch
1 parent ad9c9d5 commit 614bc0c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sagemaker_ssh_helper/sm-ssh-ide

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ EOF
6464
echo "/usr/bin/mate-session" > ~/.xsession
6565
chmod +x ~/.xsession
6666

67+
# shellcheck disable=SC2016
68+
sed -i -e 's~^ERRFILE=$HOME/.xsession-errors~ERRFILE=/var/log/apps/app_container.log__xsession-errors~' /etc/X11/Xsession
6769
fi
6870

6971
else
@@ -191,7 +193,7 @@ elif [[ "$1" == "start" ]]; then
191193
if _is_centos; then
192194
:
193195
else
194-
echo "sm-ssh-ide: Starting DBUS service"
196+
echo "sm-ssh-ide: Starting DBUS service (it can take a while)"
195197
/etc/init.d/dbus start
196198
fi
197199

0 commit comments

Comments
 (0)