Move stack logging entirely into palette library
am: d3374a048d

Change-Id: I9485d514a7b402928838151246bd6d03660cf087