Skip to content

Commit

Permalink
Revert "Periodically update symbollink timestamp For Apollo"
Browse files Browse the repository at this point in the history
This reverts commit b6fe95f, Which
may cause a regression.

Tracked-On: OAM-118246
Signed-off-by: Guo, Jade <[email protected]>
  • Loading branch information
jiaxuan-guo committed May 7, 2024
1 parent b6fe95f commit 5be9268
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions log_service/aplog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@ start_link() {
i=$((i+1))
N=$($VENDOR_PRINTF "%0"$APLOG_BIT"d" $i)
echo "vendor.aplog: create aplog.$N"
for j in $(seq -f "%03g" 1 $i); do
touch -h -r "$LOGCAT_FILE_PATH$j" "$APLOG_FILE_PATH$j"
done
[ $i -eq $APLOG_LIMIT ] && exit 0
if [ -f $LOGCAT_FILE_PATH$N ]; then
if [ ! -h $APLOG_FILE_PATH$N ]; then
$LINK_TOOL -s $LOGCAT_FILE_PATH$N $APLOG_FILE_PATH$N
Expand Down

0 comments on commit 5be9268

Please sign in to comment.